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
            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="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="Person">
  <field-map field="partyId" from-field="partyId"/>
</entity>
<log level="info" message="decrypted value returned: 
${singleEntity.socialSecurityNumber}"/>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to