Project

General

Profile

Actions

feature request #4706

closed

feature request #4719: [MASTER] Implement IntextReference

Create IntextReference

Added by Andreas Müller about 9 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Highest
Category:
cdm
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
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 IntextReferencesClosedAndreas Müller

Actions
Actions #1

Updated by Andreas Müller about 9 years ago

  • Status changed from New to In Progress
  • Priority changed from Priority08 to Highest
Actions #2

Updated by Andreas Müller about 9 years ago

first implementation r22998

Actions #3

Updated by Andreas Müller about 9 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

Actions #4

Updated by Andreas Müller about 9 years ago

open issues handled in #4784

Actions #5

Updated by Andreas Müller about 7 years ago

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

Updated by Andreas Müller about 7 years ago

Actions #8

Updated by Andreas Müller about 7 years ago

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

Updated by Andreas Müller about 7 years ago

  • Parent task changed from #6514 to #4719
Actions #10

Updated by Andreas Kohlbecker almost 7 years ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF