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

Rishi Solanki commented on OFBIZ-2509:
--------------------------------------

+1.

> 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)

Reply via email to