You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/09/01 09:43:00 UTC

[jira] [Commented] (OFBIZ-7249) Error on removing scrum members

    [ https://issues.apache.org/jira/browse/OFBIZ-7249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17188316#comment-17188316 ] 

ASF subversion and git services commented on OFBIZ-7249:
--------------------------------------------------------

Commit 6a7136ada4d38698a3497002e65cfc1980e4954c in ofbiz-plugins's branch refs/heads/trunk from Akash Jain
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=6a7136a ]

Fixed: Error on removing scrum members (OFBIZ-7249)

Thanks, Anurag Chandak for report.


> Error on removing scrum members
> -------------------------------
>
>                 Key: OFBIZ-7249
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7249
>             Project: OFBiz
>          Issue Type: Bug
>          Components: scrum
>    Affects Versions: Release Branch 14.12, Release Branch 15.12, Trunk
>            Reporter: Anurag Chandak
>            Assignee: Akash Jain
>            Priority: Major
>         Attachments: OFBIZ-7249.patch, OFBIZ-7249.patch
>
>
> 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:
> {code}
> 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.)))
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)