Project

General

Profile

Actions

Feature #2442

closed

Text annotation: show orphans

Added by Alexander Watzinger about 1 year ago. Updated about 1 month ago.

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

Description

If a text annotation has no linked entity and no (or empty) comment it should be displayed at the orphan view at the admin data integrity check views.
Orphans can happen e.g. if the linked entity is deleted which was annotated without a text.

These orphans won't be displayed and get cleaned up if the source text is saved again but it still would be a good idea to implement a check for them like with the image annotations.


Related issues 1 (0 open1 closed)

Follows OpenAtlas - Feature #2079: Text annotationClosedAlexander Watzinger2024-12-23Actions
Actions #1

Updated by Alexander Watzinger about 1 year ago

  • Start date changed from 2024-12-27 to 2024-12-24
  • Follows Feature #2079: Text annotation added
Actions #3

Updated by Alexander Watzinger 7 months ago

  • Target version changed from 8.12.0 to 8.15.0
Actions #4

Updated by Bernhard Koschiček-Krombholz about 2 months ago

  • Status changed from Acknowledged to Assigned
  • Assignee set to Bernhard Koschiček-Krombholz
Actions #5

Updated by Alexander Watzinger about 2 months ago

  • Target version changed from 8.15.0 to 9.3.0

After we discussed it in the developer meeting I looked into it. Current annotation orphan check is only for annotated images.
But because this shouldn't be an issue (see description) and more a "nice to have" I moved it to a later version to not block the next releases.

Check itself would be easy: model.annotation_text entries without entity_id and text (source_id is a foreign key and can't be NULL).
But than we have to add a tab, think about the naming, add a delete button, write tests for it, ...

So feel free to implement whenever you want or just put it on the wishlist.

Actions #6

Updated by Bernhard Koschiček-Krombholz about 1 month ago

  • Status changed from Assigned to In Progress
Actions #7

Updated by Bernhard Koschiček-Krombholz about 1 month ago

  • Status changed from In Progress to Closed
  • Target version changed from 9.3.0 to 9.0.0
Actions

Also available in: Atom PDF