Project

General

Profile

feature request #4706

feature request #4719: [MASTER] Implement IntextReference

Create IntextReference

Added by Andreas Müller over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Highest
Category:
cdm
Target version:
Start date:
03/12/2015
Due date:
03/18/2015
% Done:

100%

Severity:
normal

Description

We need the possibility to link to other CDM / external objects from within a text (e.g. a description or an annotation). Currently links are only possible for the whole block, which is often not good enough.

We may want to have a hypertext like possibility to link e.g.

 "lore ipsum <TaxonName id=2 uuid=...>Abies alba Mill.</TaxonName> ipsum lore...

One problem to solve is that during deduplication / deleting, these links may become unstable. The according link information needs to be updated or deleted. Also we do not get a ForeignKey constraint violation during delete which prevents us from deleting.

We may create a class which stands for an inline reference. It holds foreign keys to all relevant classes referenced classes (Names, References, Specimen, Agents, ...) and it can be referenced from e.g. LanguageString or Annotation. This way we keep the foreign key information.

The class also holds information about where in the text the information is to be found (not necessarily required as this can be found easily by searching the text).

The IntextReference structure could also be used for linking to external sources via URIs.

Open issues:

  • Does the class need to be versionable to allow auditing?

  • Do we need to add it to JAXB? Data can be reconstructed using the tag information also


Related issues

Related to Edit - bug #6459: Implement deduplication for IntextReferences Closed 03/02/2017

History

#1 Updated by Andreas Müller over 4 years ago

  • Status changed from New to In Progress
  • Priority changed from Priority08 to Highest

#2 Updated by Andreas Müller over 4 years ago

first implementation r22998

#3 Updated by Andreas Müller over 4 years ago

  • Status changed from In Progress to Closed
  • Resolution set to fixed
  • % Done set to 100

closing ticket as the tables / classes exist now and update script seems to work. However, we still need to implement correct funtionality: #4719

#4 Updated by Andreas Müller over 4 years ago

open issues handled in #4784

#5 Updated by Andreas Müller over 2 years ago

  • Related to bug #6459: Implement deduplication for IntextReferences added

#7 Updated by Andreas Müller over 2 years ago

#8 Updated by Andreas Müller over 2 years ago

  • Description updated (diff)
  • Parent task set to #6514

#9 Updated by Andreas Müller over 2 years ago

  • Parent task changed from #6514 to #4719

#10 Updated by Andreas Kohlbecker about 2 years ago

  • Private changed from Yes to No

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)