[
https://issues.apache.org/jira/browse/OFBIZ-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-2509.
----------------------------------
Resolution: Fixed
Fix Version/s: Upcoming Branch
Assignee: Jacques Le Roux (was: Adam Heath)
Thanks Harsh, Rishi,
I confirm this is no longer an issue and so close. I did not test releases.
> 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: Jacques Le Roux
> Priority: Minor
> Fix For: Upcoming Branch
>
>
> 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)