You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Forrest Rae (JIRA)" <ji...@apache.org> on 2015/10/02 07:24:26 UTC

[jira] [Created] (OFBIZ-6662) PartyRelationship.securityGroupId not added when adding a PartyRelationship

Forrest Rae created OFBIZ-6662:
----------------------------------

             Summary: PartyRelationship.securityGroupId not added when adding a PartyRelationship
                 Key: OFBIZ-6662
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6662
             Project: OFBiz
          Issue Type: Bug
          Components: party
    Affects Versions: Trunk, Release Branch 14.12, Release Branch 13.07, Release Branch 12.04, Release Branch 11.04
            Reporter: Forrest Rae


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)