Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4973

AvsSettings screenlet read data bug, entity-one should be used, not entity-and

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14.12.01, 13.07.01
    • Component/s: party
    • Labels:
      None

      Description

      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

                      <entity-and entity-name="PartyIcsAvsOverride" list="avsOverride">
                          <field-map field-name="partyId" from-field="partyId"/>
                      </entity-and>
      

      should be replace by

                      <entity-one entity-name="PartyIcsAvsOverride" value-field="avsOverride">
                          <field-map field-name="partyId"/>
                      </entity-one>
      

        Attachments

        1. OFBIZ-4973.patch
          1 kB
          Olivier Heintz

          Activity

            People

            • Assignee:
              toashishvijay Ashish Vijaywargiya
              Reporter:
              holivier Olivier Heintz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: