You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Nicolas Malin (JIRA)" <ji...@apache.org> on 2015/01/07 00:01:36 UTC

[jira] [Closed] (OFBIZ-5905) Change createPartyRelationshipAndRole to use ensurePartyRole

     [ https://issues.apache.org/jira/browse/OFBIZ-5905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Malin closed OFBIZ-5905.
--------------------------------
       Resolution: Fixed
    Fix Version/s: Upcoming Branch

Ok I commit a the service correction and new service ensurePartyRoleForm et To on rev 1649965.

A tested the resolution on sfa screen, and it's solve the problem.

Thanks Gareth for your issuing

> 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
>             Fix For: Upcoming Branch
>
>
> 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
(v6.3.4#6332)