Project

General

Profile

« Previous | Next » 

Revision ea17bbe6

Added by Andreas Müller about 3 years 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