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

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

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

Nicolas Malin (Jira)
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 | Threaded
Open this post in threaded view
|

[jira] Updated: (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:all-tabpanel ]

Chris Howe updated OFBIZ-2509:
------------------------------

    Description:
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}"/>


  was:
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}"/>



> 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-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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

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)
In reply to this post by Nicolas Malin (Jira)

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

Chris Howe commented on OFBIZ-2509:
-----------------------------------

should be
<entity-one value="singleEntity" entity-name="Person">

instead

> 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 | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Howe updated OFBIZ-2509:
------------------------------

    Comment: was deleted

(was: should be
<entity-one value="singleEntity" entity-name="Person">

instead)

> 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-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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.