Project

General

Profile

Actions

bug #8901

open

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

Added by Andreas Müller almost 3 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
New
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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.


Files

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

Updated by Andreas Müller almost 3 years ago

  • Description updated (diff)
Actions #2

Updated by Katja Luther almost 3 years ago

  • Target version changed from Release 5.14 to Release 5.15
Actions #3

Updated by Katja Luther over 2 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Katja Luther over 2 years 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.

Actions #5

Updated by Andreas Müller over 2 years ago

Is this fixed and should be reviewed?

Actions #6

Updated by Andreas Müller over 2 years ago

Andreas Müller wrote:

Is this fixed and should be reviewed?

??

Actions #7

Updated by Katja Luther over 2 years 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.

Actions #8

Updated by Katja Luther over 2 years ago

  • Assignee changed from Katja Luther to Andreas Müller
Actions

Also available in: Atom PDF