[ https://issues.apache.org/jira/browse/OFBIZ-5853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14202180#comment-14202180 ]
Leon commented on OFBIZ-5853: ----------------------------- search "createPartyRole" throughout project, more than 100 matched results there. If the behavior of this function changes, then it may affects most of them, the "createPartyRelationshipContactAccount” mentioned here is just one of them. > The createPartyRole service does not check a duplicate key. > ----------------------------------------------------------- > > Key: OFBIZ-5853 > URL: https://issues.apache.org/jira/browse/OFBIZ-5853 > Project: OFBiz > Issue Type: Bug > Components: party > Affects Versions: Trunk > Reporter: Supatthra Nawicha > Assignee: Nicolas Malin > Priority: Minor > Fix For: Trunk > > Attachments: OFBIZ-5853.patch, OFBIZ-5853.patch, > ofbizbug_CreatePartyroleService.diff > > > The createPartyRole service is changed from minilang to entity-auto which > does not check a duplicate key. It effect to the > createPartyRelationshipContactAccount service which call the createPartyRole > service without check a duplicate key. And it might effect to other code that > call the createPartyRole service as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)