Project

General

Profile

bug #6231

Correctly handle failed term deletions in the editor

Added by Andreas Kohlbecker almost 3 years ago. Updated 10 months ago.

Status:
Worksforme
Priority:
New
Assignee:
Category:
taxeditor
Target version:
-
Start date:
12/01/2016
Due date:
% Done:

100%

Severity:
normal
Found in Version:

Description

Deletion of MarkerType is prevented at the persistence level, but the MarkerType is deleted from the session in the editor. That is it disappears from the list of MarkerTypes in the MarkerType editor. After reconnecting the TaxEditor to the cdm instance the marker type becomes visible again. I am creating a new issue for that, this one is actually solved.

The attempt to delete a term in use should raise an exception which can be caught by the editor in order do notify the user about the impossiblity to delete the term and to mange the session state correctly

picture531-1.png View (34.8 KB) Patrick Plitzner, 11/30/2018 02:52 PM


Related issues

Copied from Edit - bug #5104: prevent MarkerTypes from being deleted when there are Marker entities using that type Closed 07/22/2015

History

#1 Updated by Andreas Kohlbecker almost 3 years ago

  • Copied from bug #5104: prevent MarkerTypes from being deleted when there are Marker entities using that type added

#2 Updated by Patrick Plitzner 10 months ago

  • File picture531-1.png View added
  • Status changed from New to Worksforme
  • Target version deleted (Unassigned CDM tickets)
  • % Done changed from 0 to 100

This has been fixed in the meantime. A popup will show what entities are still references when deletion is impossible.

#3 Updated by Andreas Müller 10 months ago

Shouldn't we always give tickets from other back for review or at least ask if they want to do review, before they are fully closed. Just to avoid that there are misunder standings?
Andreas, can you leave a comment if you agree closing the ticket?

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)