Project

General

Profile

bug #8901

Deleting an aggregated description from a descriptive matrix does not delete the aggregated description itself

Added by Andreas Müller 5 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
New
Category:
taxeditor
Target version:
Start date:
03/25/2020
Due date:
% Done:

0%

Severity:
normal
Found in Version:
Tags:

Description

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.

picture690-1.png View (16.4 KB) Katja Luther, 05/20/2020 02:26 PM

Associated revisions

Revision 11760c12 (diff)
Added by Katja Luther 3 months ago

ref #8901: fix removing aggregated descr from dataset and remove it from taxon

History

#1 Updated by Andreas Müller 5 months ago

  • Description updated (diff)

#2 Updated by Katja Luther 5 months ago

  • Target version changed from Release 5.14 to Release 5.15

#3 Updated by Katja Luther 3 months ago

  • Status changed from New to In Progress

#4 Updated by Katja Luther 3 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.

#5 Updated by Andreas Müller 3 months ago

Is this fixed and should be reviewed?

#6 Updated by Andreas Müller about 2 months ago

Andreas Müller wrote:

Is this fixed and should be reviewed?

??

#7 Updated by Katja Luther about 2 months ago

  • Status changed from In Progress to Resolved

Andreas Müller wrote:

Andreas Müller wrote:

Is this fixed and should be reviewed?

??

sorry, yes.

#8 Updated by Katja Luther about 2 months ago

  • Assignee changed from Katja Luther to Andreas Müller

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)