Project

General

Profile

bug #9069

Remove orphan single sources

Added by Andreas Müller 29 days ago. Updated 29 days ago.

Status:
New
Priority:
New
Category:
cdmlib
Target version:
Start date:
06/13/2020
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

In some classes only a single source is referenced (e.g. classes implementing SingleSourcedEntityBase or TaxonName.nomenclaturalSource or TaxonNode.source).

With TaxonNode.source it was tested if @OneToOne mapping with orphanRemoval=true (and Cascade.PERSIST) works but it did not. Some research needs to be done how this can be solved. However, it is not critical as only orphaned sources are created and these cases are relatively rare. So this is not a requirement for #9004 and #6581


Related issues

Copied from Edit - feature request #9004: Make TaxonNode.referenceForParentChildRelation an OriginalSource and rename it to (placement)source Closed 05/06/2020
Copied to Edit - feature request #6581: Make all microreferenced references OriginalSources In Progress 04/24/2017

History

#1 Updated by Andreas Müller 29 days ago

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

#2 Updated by Andreas Müller 29 days ago

#3 Updated by Andreas Müller 29 days ago

  • Category set to cdmlib
  • Assignee set to Andreas Müller

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)