Project

General

Profile

Revision ea17bbe6

IDea17bbe6a3005400740a7e548ec636bb34515b15
Parent 761729a1
Child 5014c22f

Added by Andreas Müller 9 months ago

ref #9520 try to fix failing addTaxonNodeCascadeProblem by persisting child first

View differences:

eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/operation/TaxonNameEditorTest.java
244 244
        TaxonNode taxonNode = taxonNodeService.load(taxonNodeUuid);
245 245
        Taxon childTaxon = Taxon.NewInstance(null, null);
246 246
        TaxonNode childTaxonNode = taxonNode.addChildTaxon(childTaxon, null, null);
247
        CdmStore.getService(ITaxonNodeService.class).merge(childTaxonNode, true);
248

  
247 249
        Taxon grandChildTaxon = Taxon.NewInstance(null, null);
248 250
        TaxonNode grandChildTaxonNode = childTaxonNode.addChildTaxon(grandChildTaxon, null, null);
249 251

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)