Project

General

Profile

Actions

feature request #6581

closed

Make all microreferenced references OriginalSources

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

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

100%

Estimated time:
Severity:
normal

Description

Currently we have OriginalSource usually used for collections of sources while single references such as nomenclaturalReference or references for relations (or even secundum reference) use 2 fields for defining the reference, the references and the microreference fields. This is generally problematic e.g. when formatting the nomenclatural citation. Also it reduces the possibility to add further information that is available in OriginalSource such as name used in source (could be used for original spelling), source information (currently "name in source"), or further features such as URL(s) that do link to an online version of the source together with a comment (see #6588).

We may want to handle all these references as OriginalSources. Also this eases the usage of the Reference class as it is not linked from so many places anymore (but therefore OriginalSource is linked more). Also we can easier implement common formatters for sources.
Also this could improve the handling for protologues and similar "proves" for nomenclatural acts or references in general.

Possible candidates are

  • nomenclatural reference
  • RelationshipBase reference (TaxonRelationship, NameRelationship, HybridRelationship)
  • TypeDesignation (rename to designationSource => #9332)
  • Classification => needs further discussion as classification is SourcedEntityBase #9211
  • Secundum reference => #9327
  • TaxonNode
  • NomenclaturalStatus

Note: We already have the class ReferencedEntityBase which inherits from AnnotatableEntity and is the base class for RelationshipBase and TypeDesignation. This can be kept and the 3 parameters citation, microCitation and originalNameString can be replaced by according OriginalSource fields.

Open issues:

  • do we want to keep the direct methods, e.g. getNomenclaturalReference() in the main classes => for now we keep it, may be removed later
  • how to delete a source if it became completely empty
    • how to decide if a source is completely empty (is an attached annotation or import source enough to make it not empty, or is it required that a "citation" exist. What about external links as only information => isEmpty has been implemented and works on completely empty sources
    • where to delete it (in model or only during persistence) => #9069
  • should we support one common interface which makes it easier to program against but methods are difficult to name, getSource() or getOriginalSource() might not be an expected label for getNomenclaturalSource() in TaxonName or TypeDesignationBase. Maybe we use 2 interfaces, one for nomenclatural sources. => we do have a common interface where appropriate now
  • What OriginalSourceType to use: NomenclaturalReference could be a very strict source type for names and type designations, OriginalSource might be a more general one, maybe NomenclaturalReference might become a subtype; how is the relationship to PrimaryTaxonomicSource => partly handled in #9330
  • IMPORTANT: should we store this source together with other sources if available. This is the case for TaxonName.nomenclaturalReference and TaxonBase.secundum where the main classes are identifiable and already have sources. There might be performance issues and lazy loading issues if the specific source is stored together with the set of OrginalSources. => we decided not to do so
  • Should we have a strict type checking for the OriginalSourceType? => we do not handle source type for these sources in TaxEditor yet, maybe this becomes more interesting if we have something like SecondaryTaxonomicSource
  • Should we allow to always return a placeholder empty source in case no source exists, this reduces NPEs but the semantic must be strictly followed that this placeholder may not be attached to the parent and therefore changes will have no effect; we may have a singleton for this to improve performance and to throw exceptions when any changes are done on this placeholder => we do not use such an placeholder but we offer a get method with parameter createIfNotExists
  • Rename DescriptionElementSource to NamedSource as the only reason for distinguishing it from IdentifiableSource is now the additional attribute; the back link to the sourced entity does not exist anymore => #9331

Related issues

Related to EDIT - feature request #6588: Add URL and URL comment to OriginalSource / ExternalLinkClosedAndreas Müller

Actions
Related to EDIT - task #6591: Use name used in source for original spellingClosedAndreas Müller

Actions
Related to EDIT - bug #6623: formatter for bibliografic citations with citationDetailClosedAndreas Müller

Actions
Related to EDIT - feature request #6916: Link IntextReference to OriginalSource, not ReferenceIn ProgressAndreas Müller

Actions
Related to EDIT - bug #7781: original spelling is missing for accepted taxon in taxon pageNewKatja Luther

Actions
Related to EDIT - feature request #8017: TypeDesignations need sources additional to lectotypifcation sourcesClosedAndreas Müller

Actions
Related to EDIT - feature request #9004: Make TaxonNode.referenceForParentChildRelation an OriginalSource and rename it to (placement)sourceClosedAndreas Müller

Actions
Related to EDIT - feature request #9116: Adapt Editor to switch to originalSource for TaxonNode and improve layout of TaxonNode dialogueClosedKatja Luther

Actions
Related to EDIT - feature request #9194: Make RelationshipBase and NomenclaturalStatus reference OriginalSourceClosedAndreas Müller

Actions
Related to EDIT - bug #9199: Adapt TaxEditor to switch to originalSource for remaining single sourced objectsClosedKatja Luther

Actions
Related to EDIT - task #9222: Adapt dataportal to switch to originalSource for remaining single sourced classesClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #9223: make changes of nomenclatural references detectable again in TaxonGraphBeforeTransactionCompleteProcessResolvedAndreas Müller

Actions
Related to EDIT - feature request #9225: Make TaxonName.nomenclaturalSource a new DescriptionElementSource subclassClosedAndreas Müller

Actions
Related to EDIT - feature request #9229: TaxonNameEditor: use NomenclaturalStatusDTO to avoid data loading probems within setters in TaxonNameClosedAndreas Kohlbecker

Actions
Related to EDIT - task #9266: Remove protologue section from TaxEditorClosedKatja Luther

Actions
Related to EDIT - bug #9289: LazyInitializationException (LIE) in NameTypeDesignationEditorClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #9313: LazyInitializationException (LIE) in TaxonNamePopupEditorClosedAndreas Kohlbecker

Actions
Related to EDIT - task #9315: Remove old single source citation and microCitation columnsClosedAndreas Müller

Actions
Related to EDIT - bug #9312: NullPointerException (NPE) in TaxonNamePopupEditorClosedAndreas Müller

Actions
Related to EDIT - bug #9318: TaxonNameEditor: nomenclatural reference no longer selectableClosedAndreas Kohlbecker

Actions
Related to EDIT - task #9536: Remove old single source citation and microCitation columns for secundum and DescriptionElementBase_OriginalSourceBase and TaxonName_NomenclaturalStatusClosedAndreas Müller

Actions
Related to EDIT - task #9330: Remove "NomenclaturalSource" from OriginalSourceTypeClosedAndreas Müller

Actions
Related to EDIT - feature request #9332: Rename TypeDesignationBase.source to .designationSourceClosedAndreas Müller

Actions
Blocks EDIT - feature request #6589: Handle protologue as original source with URI linkClosedAndreas Müller

Actions
Copied from EDIT - bug #9069: Remove orphan single sourcesNewAndreas Müller

Actions
Copied to EDIT - feature request #9211: Handle source(s) for ClassificationClosedAndreas Müller

Actions
Copied to EDIT - feature request #9327: Make taxon secundum reference an original sourceClosedAndreas Müller

Actions
Copied to EDIT - feature request #9331: Distinguish DescriptionElementSource and NamedSourceClosedAndreas Müller

Actions
Actions #1

Updated by Andreas Müller almost 7 years ago

  • Description updated (diff)
Actions #2

Updated by Andreas Müller almost 7 years ago

  • Description updated (diff)
Actions #3

Updated by Andreas Müller almost 7 years ago

Actions #4

Updated by Andreas Müller almost 7 years ago

Actions #5

Updated by Andreas Müller almost 7 years ago

  • Description updated (diff)
Actions #6

Updated by Andreas Müller almost 7 years ago

  • Related to task #6591: Use name used in source for original spelling added
Actions #7

Updated by Andreas Müller almost 7 years ago

AK: > Viel besser sollten wir das im ValidationFramework als Rule definieren.
+1

das Ticket https://dev.e-taxonomy.eu/redmine/issues/6581 freut mich wirklich sehr, denn die Nomenklatorischen Referenzen sind auch in Portal sehr lästig, da man mit citation und citationDetail immer noch einen extra Request an den Server schicken muss um den kompletten Citation String zu bekommen.

Actions #8

Updated by Andreas Müller almost 7 years ago

  • Priority changed from New to Priority14
Actions #9

Updated by Andreas Müller almost 7 years ago

  • Target version changed from CDM UML 4.7 to CDM UML 5.0
Actions #10

Updated by Andreas Müller almost 7 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Priority changed from Priority14 to Highest
Actions #11

Updated by Andreas Müller almost 7 years ago

  • Description updated (diff)
  • % Done changed from 0 to 10
Actions #12

Updated by Andreas Müller almost 7 years ago

  • Description updated (diff)
Actions #13

Updated by Andreas Müller over 6 years ago

  • Related to bug #6623: formatter for bibliografic citations with citationDetail added
Actions #14

Updated by Andreas Müller over 6 years ago

Actions #15

Updated by Andreas Müller almost 6 years ago

  • Priority changed from Highest to Priority14
Actions #16

Updated by Andreas Müller almost 6 years ago

  • Target version changed from CDM UML 5.0 to CDM UML 5.5
Actions #18

Updated by Andreas Müller over 5 years ago

  • Related to bug #7781: original spelling is missing for accepted taxon in taxon page added
Actions #19

Updated by Andreas Müller about 5 years ago

  • Priority changed from Priority14 to Priority13
Actions #20

Updated by Andreas Müller about 5 years ago

  • Related to feature request #8017: TypeDesignations need sources additional to lectotypifcation sources added
Actions #21

Updated by Andreas Müller about 5 years ago

  • Description updated (diff)
Actions #22

Updated by Andreas Müller almost 5 years ago

  • Target version changed from CDM UML 5.5 to CDM UML 5.15
Actions #23

Updated by Andreas Müller almost 4 years ago

  • Related to feature request #9004: Make TaxonNode.referenceForParentChildRelation an OriginalSource and rename it to (placement)source added
Actions #24

Updated by Andreas Müller almost 4 years ago

  • Copied from bug #9069: Remove orphan single sources added
Actions #25

Updated by Andreas Müller almost 4 years ago

  • Priority changed from Priority13 to Highest
Actions #26

Updated by Andreas Müller over 3 years ago

  • Target version changed from CDM UML 5.15 to CDM UML 5.43
Actions #27

Updated by Andreas Müller over 3 years ago

  • Related to feature request #9116: Adapt Editor to switch to originalSource for TaxonNode and improve layout of TaxonNode dialogue added
Actions #28

Updated by Andreas Müller over 3 years ago

  • Description updated (diff)
Actions #29

Updated by Andreas Müller over 3 years ago

  • Related to feature request #9194: Make RelationshipBase and NomenclaturalStatus reference OriginalSource added
Actions #30

Updated by Andreas Müller over 3 years ago

  • Related to bug #9199: Adapt TaxEditor to switch to originalSource for remaining single sourced objects added
Actions #31

Updated by Andreas Müller over 3 years ago

Actions #32

Updated by Andreas Müller over 3 years ago

  • Description updated (diff)
Actions #33

Updated by Andreas Kohlbecker over 3 years ago

  • Related to task #9222: Adapt dataportal to switch to originalSource for remaining single sourced classes added
Actions #34

Updated by Andreas Kohlbecker over 3 years ago

  • Related to bug #9223: make changes of nomenclatural references detectable again in TaxonGraphBeforeTransactionCompleteProcess added
Actions #35

Updated by Andreas Müller over 3 years ago

  • Related to feature request #9225: Make TaxonName.nomenclaturalSource a new DescriptionElementSource subclass added
Actions #36

Updated by Andreas Kohlbecker over 3 years ago

  • Related to feature request #9229: TaxonNameEditor: use NomenclaturalStatusDTO to avoid data loading probems within setters in TaxonName added
Actions #37

Updated by Andreas Müller over 3 years ago

  • % Done changed from 10 to 40
Actions #38

Updated by Andreas Müller over 3 years ago

  • Status changed from In Progress to Resolved

This is more or less solved. Open issues hshould be moved to new tickets if not yet done.

Actions #39

Updated by Andreas Müller over 3 years ago

  • Related to feature request #9298: Preference for IDinSource, IdNamespace and original information in nomenclatural reference details view added
Actions #40

Updated by Andreas Müller over 3 years ago

  • Related to task #9266: Remove protologue section from TaxEditor added
Actions #41

Updated by Andreas Kohlbecker over 3 years ago

  • Related to bug #9289: LazyInitializationException (LIE) in NameTypeDesignationEditor added
Actions #42

Updated by Andreas Kohlbecker over 3 years ago

  • Related to bug #9313: LazyInitializationException (LIE) in TaxonNamePopupEditor added
Actions #43

Updated by Andreas Müller over 3 years ago

  • Related to task #9315: Remove old single source citation and microCitation columns added
Actions #44

Updated by Andreas Kohlbecker over 3 years ago

  • Related to bug #9312: NullPointerException (NPE) in TaxonNamePopupEditor added
Actions #45

Updated by Andreas Kohlbecker over 3 years ago

  • Related to bug #9318: TaxonNameEditor: nomenclatural reference no longer selectable added
Actions #46

Updated by Andreas Müller over 3 years ago

Actions #47

Updated by Andreas Müller over 3 years ago

  • Related to deleted (feature request #9298: Preference for IDinSource, IdNamespace and original information in nomenclatural reference details view)
Actions #48

Updated by Andreas Müller over 3 years ago

  • Description updated (diff)
Actions #49

Updated by Andreas Müller over 3 years ago

  • Description updated (diff)
Actions #50

Updated by Andreas Müller over 3 years ago

Actions #51

Updated by Andreas Müller over 3 years ago

  • Description updated (diff)
  • Status changed from Resolved to Closed
  • % Done changed from 40 to 100

I think we can close this ticket now. Please reopen if you think there is still something open that is not yet handled in related tickets.

Actions #52

Updated by Andreas Müller over 3 years ago

  • Description updated (diff)
Actions #53

Updated by Andreas Müller over 3 years ago

  • Description updated (diff)
Actions #54

Updated by Andreas Müller over 3 years ago

  • Target version changed from CDM UML 5.43 to Release 5.18
Actions #55

Updated by Andreas Müller about 3 years ago

  • Related to task #9536: Remove old single source citation and microCitation columns for secundum and DescriptionElementBase_OriginalSourceBase and TaxonName_NomenclaturalStatus added
Actions #56

Updated by Andreas Müller about 3 years ago

  • Related to task #9330: Remove "NomenclaturalSource" from OriginalSourceType added
Actions #57

Updated by Andreas Müller about 3 years ago

  • Description updated (diff)
Actions #58

Updated by Andreas Müller almost 3 years ago

Actions

Also available in: Atom PDF