Deleting a role on the Edit Collection page causes the XMLUI to try and delete 
the associated group even if it is used elsewhere.
---------------------------------------------------------------------------------------------------------------------------------

                 Key: DS-555
                 URL: http://jira.dspace.org/jira/browse/DS-555
             Project: DSpace 1.x
          Issue Type: Bug
          Components: XMLUI
    Affects Versions: 1.6.0
            Reporter: Robin Taylor
            Priority: Minor


Method FlowContainerUtils.processDeleteCollectionRole(...) tries to delete the 
group associated with the role without first checking if it is used elsewhere.  
In one instance we have a 'cataloguers' group that is associated with the 
WorkFlow step(s) for all collections. The result of trying to delete the step 
is...


org.postgresql.util.PSQLException: ERROR: update or delete on table 
"epersongroup" violates foreign key constraint 
"collection_workflow_step_2_fkey" on table "collection"
Detail: Key (eperson_group_id)=(2) is still referenced from table "collection".



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to