Project

General

Profile

bug #8782

Delete a description included in a CdmSource should not be possible

Added by Katja Luther 7 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Highest
Assignee:
Category:
cdmlib
Target version:
Start date:
12/18/2019
Due date:
% Done:

100%

Severity:
normal
Found in Version:

Description

mail AM:

ich habe gerade DescriptionBase gelöscht (aus dem Facts View heraus), die noch verlinkt waren über eine CdmLinkSource. Das sollte ja eigentlich nicht möglich sein. Im delete-Algorithmus werden die vermutlich noch nicht explizit getestet, aber dann sollte ja eigentlich der allgemeine Check auf Referencing Objects einspringen, der das verhindert.
Kannst du mal sehen, was da nicht stimmt und es ggf. anpassen.


Related issues

Related to Edit - bug #8784: Deleting a specimen description not possible Closed 12/19/2019
Related to Edit - bug #8785: Move functionality of buttons to context menu of the character matrix Resolved 12/19/2019

Associated revisions

Revision 69019789 (diff)
Added by Katja Luther 7 months ago

ref #8782: add isDeletable to descriptionService

History

#1 Updated by Andreas Müller 7 months ago

  • Related to bug #8784: Deleting a specimen description not possible added

#2 Updated by Andreas Müller 7 months ago

  • Related to bug #8785: Move functionality of buttons to context menu of the character matrix added

#3 Updated by Katja Luther 6 months ago

  • Target version changed from Release 5.12 to Release 5.13

#4 Updated by Katja Luther 5 months ago

  • Status changed from New to Resolved
  • Assignee changed from Katja Luther to Andreas Müller
  • % Done changed from 0 to 50

now deletion is possible only for not referenced descriptions.

#5 Updated by Andreas Müller 4 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Katja Luther
  • % Done changed from 50 to 90

Now it is not possible anymore to delete a specimen description which is referenced by an OriginalSource.

Open issue: The error message shown is wrong (if deleted via facts view): "The description can't be completely deleted because it is referenced by DescriptiveDataSet"

#6 Updated by Andreas Müller 4 months ago

  • Subject changed from Delete a description included in a cdmSource should not be possible to Delete a description included in a CdmSource should not be possible
  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

Sorry, I was wrong, the test record was referenced by both DDS and CdmLinkSource.

No I tested with only linking to CdmLinkSource and it worked as expected.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)