[jira] [Commented] (OFBIZ-2509) partial select in simple methods does not decrypt encrypted fields

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-2509) partial select in simple methods does not decrypt encrypted fields

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14226070#comment-14226070 ]

Harsh Vijaywargiya commented on OFBIZ-2509:
-------------------------------------------

I just verified the reported issues on latest trunk, and now it is working fine. We can close this issue.

> partial select in simple methods does not decrypt encrypted fields
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-2509
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2509
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Chris Howe
>            Assignee: Adam Heath
>            Priority: Minor
>
> When using <select-field> in conjunction with entity-* in a simple method encrypted field values are not decrypted.
> Try:
> <entity-one value="singleEntity" entity-name="Person">
>   <field-map field="partyId" from-field="partyId"/>
>   <select-field field-name="socialSecurityNumber"/>
> </entity>
> <log level="info" message="encrypted value returned: ${singleEntity.socialSecurityNumber}"/>
> compared with:
> <entity-one value="singleEntity" entity-name="Person">
>   <field-map field="partyId" from-field="partyId"/>
> </entity>
> <log level="info" message="decrypted value returned: ${singleEntity.socialSecurityNumber}"/>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)