#5975 fixed title cache of empty specimens
authorPatrick Plitzner <p.plitzner@bgbm.org>
Tue, 19 Jul 2016 09:36:03 +0000 (11:36 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Tue, 19 Jul 2016 10:52:37 +0000 (12:52 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewDerivedUnitBaseWizard.java

index 9f382d431c04d2f2d14db62e6f4df8eb1c237209..a09a1a8e8143c0464275a09b996d88cbfb25faa1 100644 (file)
@@ -94,7 +94,7 @@ public class NewDerivedUnitBaseWizard extends AbstractNewEntityWizard<SpecimenOr
        @Override
        protected void saveEntity() {
            if(CdmStore.getCurrentSessionManager().isRemoting()) {
-               CdmStore.getService(IOccurrenceService.class).merge(getEntity(), true);
+               setEntity(CdmStore.getService(IOccurrenceService.class).merge(getEntity()));
            } else {
                CdmStore.getService(IOccurrenceService.class).save(getEntity());
            }