Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7249

Error on removing scrum members

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 14.12, Release Branch 15.12, Trunk
    • 17.12.05, 18.12.01
    • scrum
    • None
    • Community Day 2 - 2016

    Description

      Steps to regenerate:

      • Go to Scrum --> Administration --> Scrum Members
      • Try to remove only those scrum members whose party and role type are similar to product members
      • The following error is shown:
        The Following Errors Occurred:
        Error:Error doing entity-auto operation for entity PartyRole in service deletePartyRole: org.ofbiz.entity.GenericEntityException: org.ofbiz.entity.GenericDataSourceException: Exception while deleting the following entity: [GenericEntity:PartyRole][partyId,SCRUMASTER(java.lang.String)][roleTypeId,SCRUM_MASTER(java.lang.String)] (SQL Exception while executing the following:DELETE FROM OFBIZ.PARTY_ROLE WHERE PARTY_ID=? AND ROLE_TYPE_ID=? (DELETE on table 'PARTY_ROLE' caused a violation of foreign key constraint 'PROD_RLE_PTYRLE' for key (SCRUMASTER,SCRUM_MASTER). The statement has been rolled back.)) (Exception while deleting the following entity: [GenericEntity:PartyRole][partyId,SCRUMASTER(java.lang.String)][roleTypeId,SCRUM_MASTER(java.lang.String)] (SQL Exception while executing the following:DELETE FROM OFBIZ.PARTY_ROLE WHERE PARTY_ID=? AND ROLE_TYPE_ID=? (DELETE on table 'PARTY_ROLE' caused a violation of foreign key constraint 'PROD_RLE_PTYRLE' for key (SCRUMASTER,SCRUM_MASTER). The statement has been rolled back.)))
        

      Attachments

        1. OFBIZ-7249.patch
          1 kB
          Anurag Chandak
        2. OFBIZ-7249.patch
          3 kB
          Akash Jain

        Activity

          People

            akash.jain Akash Jain
            anurag.chandak@hotwaxsystems.com Anurag Chandak
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: