Bind null session for new derived unit wizard
authorCherian Mathew <c.mathew@bgbm.org>
Tue, 13 Oct 2015 09:16:11 +0000 (11:16 +0200)
committerCherian Mathew <c.mathew@bgbm.org>
Tue, 13 Oct 2015 09:16:11 +0000 (11:16 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewDerivedUnitBaseWizard.java

index 4905b26f77bfbe66ce559604d5affc2ab9a9b3b6..c98b8690be6d9240d7b490850f2086dbb4794f0e 100644 (file)
@@ -59,6 +59,7 @@ public class NewDerivedUnitBaseWizard extends AbstractNewEntityWizard<SpecimenOr
 
     public NewDerivedUnitBaseWizard() {
         super();
+        CdmStore.getCurrentSessionManager().bindNullSession();
     }
 
     public NewDerivedUnitBaseWizard(SpecimenOrObservationType specOrObsType) {
@@ -171,6 +172,7 @@ public class NewDerivedUnitBaseWizard extends AbstractNewEntityWizard<SpecimenOr
                 MessagingUtils.error(DerivateSearchCompositeController.class, e);
             }
         }
+
         return performFinish;
     }