fix #6300: the newDerivedUnitWizard should not have a session
authorKatja Luther <k.luther@bgbm.org>
Thu, 2 Feb 2017 12:01:24 +0000 (13:01 +0100)
committerKatja Luther <k.luther@bgbm.org>
Thu, 2 Feb 2017 12:01:24 +0000 (13:01 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewDerivedUnitBaseWizard.java

index 1629b49999cddc9ffb07e3bcb1450e98f966f185..55306052febc933ac81de4073e1dbc051891f99c 100644 (file)
@@ -37,7 +37,7 @@ public class NewDerivedUnitBaseWizard extends AbstractNewEntityWizard<SpecimenOr
 
     public NewDerivedUnitBaseWizard() {
         super();
-        CdmStore.getCurrentSessionManager().bindNullSession();
+      //  CdmStore.getCurrentSessionManager().bindNullSession();
     }
 
     public NewDerivedUnitBaseWizard(SpecimenOrObservationType specOrObsType) {
@@ -93,7 +93,7 @@ public class NewDerivedUnitBaseWizard extends AbstractNewEntityWizard<SpecimenOr
        @Override
        protected void saveEntity() {
            setEntity(CdmStore.getService(IOccurrenceService.class).merge(getEntity()));
-           
+
        }