[
https://issues.apache.org/jira/browse/OFBIZ-5905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Smits updated OFBIZ-5905:
--------------------------------
Labels: roles (was: )
> Change createPartyRelationshipAndRole to use ensurePartyRole
> ------------------------------------------------------------
>
> Key: OFBIZ-5905
> URL: https://issues.apache.org/jira/browse/OFBIZ-5905
> Project: OFBiz
> Issue Type: Bug
> Components: party
> Affects Versions: Trunk
> Reporter: Gareth Carter
> Assignee: Nicolas Malin
> Priority: Minor
> Labels: roles
> Fix For: 14.12.01, 16.11.01
>
>
> createPartyRelationshipAndRole in party/servicedef/services.xml invokes
> createPartyRole and then createPartyRelationship. It would be better if
> createPartyRole was changed to ensurePartyRole so that
> createPartyRelationshipAndRole can be called without the risk of a duplicate
> key error in PartyRole
--
This message was sent by Atlassian Jira
(v8.20.1#820001)