digitalutsc / islandora_web_annotations

An Islandora module that enables annotation on Islandora objects, following the W3C Web annotation model.
GNU General Public License v3.0
7 stars 5 forks source link

What should happen to annotations when the object gets deleted #219

Closed Natkeeran closed 6 years ago

Natkeeran commented 7 years ago

Currently, when the target object is deleted, the annotations are not deleted. We need to either document this behavior or provide a configuration option to delete all annotations and annotation container when the object gets deleted.

Related Issue: https://github.com/digitalutsc/islandora_web_annotations/issues/157

kstapelfeldt commented 7 years ago

At minimum this should be covered in relevant documentation for the release. I'm not sure that it is.

kstapelfeldt commented 7 years ago

Related to #221

kimpham54 commented 7 years ago

@kstapelfeldt update documentation https://github.com/digitalutsc/islandora_web_annotations/wiki/Annotation-CRUD-Behaviour

kstapelfeldt commented 7 years ago

When Objects are deleted the Annotation Container retains a relationship with the default annotation collection. In this way the annotations can be accessed after an object is deleted. In a new issue we will confirm that annotation containers are also visible in the default annotation collection (Issue #229) - Kirsta to ensure this is captured in the documentation.

kimpham54 commented 6 years ago

done