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

PartyRelationship.securityGroupId not added when adding a PartyRelationship

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 11.04, Release Branch 12.04, Release Branch 13.07, Release Branch 14.12, 16.11.01
    • 14.12.01, 13.07.04
    • party
    • Patch

    Description

      When adding a PartyRelationship the value selected for SecurityGroupId is ignored as createPartyRelationship service expects the parameter to be named securityGroupId. The AddOtherPartyRelationship form incorrectly names the field groupId causing the value to be missed in the set-nonpk-fields call in applications/party/script/org/ofbiz/party/party/PartyServices.xml at line 821.

      This bug can be traced back 7 years and 1 month to when the code was originally committed, showing that it never worked in the first place

      https://fisheye6.atlassian.com/changelog/ofbiz?cs=688484

      Repo:
      1) While adding a relationship, select something in the Security Group ID select menu.
      2) Submit
      3) Webtools -> Entity Engine -> PartyRelationship -> Find
      4) Search for the PartyRelationship
      5) Not that the securityGroupId field is empty even though you selected one in step 1.

      Attachments

        1. OFBIZ-6662-partymgr.patch
          2 kB
          Forrest Rae

        Activity

          People

            mbrohl Michael Brohl
            fbr@14x.net Forrest Rae
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: