Deleting an aggregated description from a descriptive matrix does not delete the aggregated description itself
I removed aggregated taxon description via the matrix editor.
This did not remove the descriptions from their according taxa. But at least if the description was created by aggegating the given dataset the description should be fully deleted from the DB not only removed from the dataset (but stay at the taxon).
However, we should discuss details under which conditions fully removing is wanted and under which conditions only the link between the dataset and a description is wanted.
Also deleting an aggregated description should remove the cloned specimen descriptions which were created as sources for these descriptions. This is a bit complicated because we probably need to check if these descriptions are used elsewhere (or do we implement a strict rule that e.g. "Cloned" descriptions may be used only by exactly 1 referencing description?).
Note: Currently it is impossible to delete a cloned description via editor because it is referenced by the according dataset and by the specimen. Deleting from 1 of them creates an error saying that it is referenced by the other one. Needs discussion on how to attached cloned descriptions to the dataset.
#4 Updated by Katja Luther 8 months ago
the deletion of the aggregation description should be fixed, but attention, if the description is referenced in a cdmlinksource for example because of a aggregation from child to parent, then this description needs to be deleted first.