Project

General

Profile

« Previous | Next » 

Revision de6b6edb

Added by Katja Luther over 3 years ago

fix #9365: fix reuse taxon in newTaxonNodeWizard

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTaxonNodeWizard.java
72 72
             	if (status == null){
73 73
             	    notes = null;
74 74
             	}
75
            	result = CdmStore.getService(ITaxonNodeService.class).createNewTaxonNode(parent.getUuid(), taxon, source, parent.getMicroReference(),
75
             	if (taxonNodePage.getExistingTaxon() != null){
76
             	    result = CdmStore.getService(ITaxonNodeService.class).createNewTaxonNode(parent.getUuid(), taxonNodePage.getExistingTaxon().getUuid(), null, null);
77
             	}else{
78
             	    result = CdmStore.getService(ITaxonNodeService.class).createNewTaxonNode(parent.getUuid(), taxon, source, parent.getMicroReference(),
76 79
            	         status, notes);
80
             	}
77 81

  
78 82
            	if (result.isOk()){
79 83
            	    this.setEntity((TaxonNode)result.getCdmEntity());

Also available in: Unified diff