Project

General

Profile

Actions

Feature #2152

closed

Annotations: check orphan function

Added by Alexander Watzinger 10 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
Backend
Target version:
Start date:
2024-01-12
Estimated time:

Description

Currently it is only possible to link entities to an annotation if the entity is already linked to the file. This is the intended behavior to prevent linking entities just via annotation and outside the model.
But it might than happen, that the model link (refer to) is removed and we thought about how to deal with this situation:
  • Automatically remove the annotation would be to destructive
  • Preventing or warning to remove the (refer to) link would be cumbersome e.g. there could be multiple and so we would have to check if it is the last one and so on. Also it might not happen often, if at all.
At the moment our approach would be to add a data check function to list entities that have a connection to file a via an annotation but are not linked via the model (referred to). This approach would have some advantages:
  • No destructive behavior
  • After listing all "orphaned" annotation links, it could be offered to
    • Delete the annotation
    • Remove the entity from the annotation
    • Re-link the entity used in the annotation to the file again
Actions #1

Updated by Bernhard Koschiček-Krombholz 7 months ago

  • Status changed from Acknowledged to In Progress
  • Assignee set to Bernhard Koschiček-Krombholz
Actions #2

Updated by Bernhard Koschiček-Krombholz 7 months ago

  • Status changed from In Progress to Resolved

Implemented all three options in the admin/orphans view.

Actions #3

Updated by Bernhard Koschiček-Krombholz 7 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF