You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "HotWax Media OFBiz Team (JIRA)" <ji...@apache.org> on 2014/08/16 15:14:18 UTC

[jira] [Commented] (OFBIZ-4973) AvsSettings screenlet read data bug, entity-one should be used, not entity-and

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

HotWax Media OFBiz Team commented on OFBIZ-4973:
------------------------------------------------

Steps to test:
1.Go to partymgr (https://localhost:8443/partymgr/control/viewprofile?partyId=DemoEmployee)
2.Edit the AVS string in AVS Override screen section.

Expected Result: Updated value should be displayed instead of default value. 

This problem persist in Trunk as well as in Ofbiz 13.07. Tested the patch and it is working fine in Ofbiz Trunk as well as in Ofbiz 13.07.

> AvsSettings screenlet read data bug, entity-one should be used, not entity-and
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4973
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4973
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>            Reporter: Olivier Heintz
>            Priority: Minor
>         Attachments: OFBIZ-4973.patch
>
>
> On Party ViewProfile screen  (or PartyProfile PortalPage) in AvsSettings screenlet, the user entry value is never shown because database request in screen action is wrong.
> Entity PartyIcsAvsOverride has only one PK which is partyId so 
> {code}
>                 <entity-and entity-name="PartyIcsAvsOverride" list="avsOverride">
>                     <field-map field-name="partyId" from-field="partyId"/>
>                 </entity-and>
> {code}
> should be replace by
> {code}
>                 <entity-one entity-name="PartyIcsAvsOverride" value-field="avsOverride">
>                     <field-map field-name="partyId"/>
>                 </entity-one>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)