-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
None
Some individual entities can be linked with each another with a `relationship`. Upon deletion, this can be problematic, if the entity to be deleted is related directly to others. In case of one-to-one external relations, like creator and work - individual entities can be directly deleted without any consequences on the other entity.
However, in the case of deleting an entity with an one-to-many relationship can be tricky, for example deleting an edition group would affect it's editions, as having an edition of an edition group without the original edition group would be not meaningful. Another case would be of deletion of a publisher.
A solution to this can be to allow deletion of an entity with one-to-many relations only when all the dependant entities have been deleted. Another way can be to delete all the dependant entities also while deleting the parent entity. This would require displaying a message to the editor when s/he decides to delete the entity.