[jira] [Created] (OFBIZ-11718) Deleting a PartyRole from a party generates an error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-11718) Deleting a PartyRole from a party generates an error

Nicolas Malin (Jira)
Pierre Smits created OFBIZ-11718:
------------------------------------

             Summary: 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: Trunk, 17.12.03
            Reporter: Pierre Smits
            Assignee: Pierre Smits
         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.3.4#803005)