[ https://issues.apache.org/jira/browse/OFBIZ-11718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux reopened OFBIZ-11718: ------------------------------------- Reopen to better close with an explanation, ie it's either PartyRole or PartyRelationship > Deleting a PartyRole from a party generates an error > ---------------------------------------------------- > > Key: OFBIZ-11718 > URL: https://issues.apache.org/jira/browse/OFBIZ-11718 > Project: OFBiz > Issue Type: Bug > Components: party > Affects Versions: 17.12.03, Trunk > Reporter: Pierre Smits > Assignee: Pierre Smits > Priority: Major > Labels: role, roles, usability > Fix For: Upcoming Branch > > Attachments: Screen Shot 2020-05-20 at 09.10.15.png > > > Deleting a role from a party generates an error when that PartyRole is used > in an other entity record. > See attached screenshot > Steps to reproduce: > # Go to > [https://demo-trunk.ofbiz.apache.org/partymgr/control/viewroles?partyId=DemoCustomer;|https://demo-trunk.ofbiz.apache.org/partymgr/control/viewroles?partyId=DemoCustomer] > # Remove the 'Contact' role from the party. > See the error shown (attached screenshot). > Such errors pop up due to referential integrity (used in other entities). -- This message was sent by Atlassian Jira (v8.20.1#820001)