Project

General

Profile

bug #7392

Remove Cascade from relations

Added by Andreas Müller 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
04/30/2018
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

Classes inheriting from RelationshipBase such as NameRelationship, Hybridrelationship and TaxonRelationship do cascade from the related object to the other related object. This may reduce peformance during save and also creates problems with permissions (#7390).
Therefore we should remove the cascade from the relationship to the related object.

This requires, that unsaved objects are now manually saved.


Related issues

Related to Edit - bug #7390: possible permission clash when adding basionym Duplicate 04/30/2018
Related to Edit - bug #7391: grant UPDATE for taxonnames temporarily when using a name as basionym Rejected 04/30/2018
Precedes Edit - bug #7393: Fix regressions resulting from cascade removal from relationships in TaxEditor Closed 05/02/2018

Associated revisions

Revision 32c018db (diff)
Added by Andreas Müller 7 months ago

ref #7392 remove cascade from relationships and adapt tests (up to service layer)

Revision eae910af (diff)
Added by Andreas Müller 7 months ago

ignore testDoResolveAndPage_1 as it gives strange results, maybe related to changes in ref #7392

History

#1 Updated by Andreas Müller 7 months ago

  • Related to bug #7390: possible permission clash when adding basionym added

#2 Updated by Andreas Müller 7 months ago

  • Status changed from New to Resolved
  • Assignee changed from Andreas Müller to Katja Luther

#3 Updated by Andreas Müller 7 months ago

  • Related to bug #7393: Fix regressions resulting from cascade removal from relationships in TaxEditor added

#4 Updated by Andreas Müller 7 months ago

  • Related to bug #7391: grant UPDATE for taxonnames temporarily when using a name as basionym added

#5 Updated by Andreas Müller 7 months ago

  • Related to deleted (bug #7393: Fix regressions resulting from cascade removal from relationships in TaxEditor)

#6 Updated by Andreas Müller 7 months ago

  • Precedes bug #7393: Fix regressions resulting from cascade removal from relationships in TaxEditor added

#7 Updated by Katja Luther 7 months ago

  • Assignee changed from Katja Luther to Andreas Müller

#8 Updated by Katja Luther 7 months ago

  • Status changed from Resolved to Closed

seems to work as it should.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)