Batch add works to collection from Dashboard->Works when all fail doesn't forward as expected #4006
Labels
Collection
impacts the Collection part of PCDM Model
Milestone
Descriptive summary
This issue lays out expected forwarding behavior when adding works to a collection through Dashboard->Works fails for all works.
NOTE: This likely uses the same forwarding behavior as adding works to a collection through Dashboard ->Works. This issue and issue #4008 are tightly related and the fix for one may fix both.
Rationale
Provide intuitive forwarding behavior that focuses on the actions a user will most likely want to take next. Provide error message that is easy to understand.
Expected behavior
When adding multiple works to a collection from Dashboard -> Works...
FAILURE to add any of the works should:
Testing
Actual behavior
When adding multiple works to a collection from Dashboard -> Works...
FAILURE of all works added:
Steps to reproduce the behavior
Prerequisites:
Need a collection type that is set to allow single membership. If testing on Nurax, this collection type may already exist. Look for Collection Type Single Membership. If it doesn't exist, then create a single membership collection type using...
Need two collections of type Single Membership. You can create using...
Create 2 works and add to collection SM1 using...
Test:
Verify FAILURE to add works to second collection of the same Single Membership type.
Verify forwards to SM2 admin show page. (Admin show page is the show page for the collection with the admin menu on the left.)
Verify flash error (red) with message "Collections Error: You have attempted to add works to more than one collection of the same single-membership collection type (collection type: Single Membership, collections: SM1, SM2). None of the works were added."
Related work
The text was updated successfully, but these errors were encountered: