-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
Error
Collection was not prevented from having same collection as both a parent and a child in Hyrax (Collections Sprint).
Steps to reproduce in Hyrax (Collections Sprint)
- Create collection A
- Create collection B
- Add collection A as a sub-collection of collection B
- Add collection B as a sub-collection of collection A.
Rationale
Collection B should not be able to be added as a sub-collection of Collection A, as this is a violation of PCDM.
Expected Behavior
The nested indexer has been updated due to its unexpected behavior in this situation, but PCDM should not be allowing the situation to occur. There should be an error thrown if collections B and A have any sort of ancestral relationship.
Hyrax screen shot
This shows invalid relationships added through UI in collections sprint branch.

Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog