ref #8744 Correctly initialize cdmEntitySession for character editor
authorPatrick Plitzner <p.plitzner@bgbm.org>
Wed, 11 Dec 2019 13:23:30 +0000 (14:23 +0100)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Wed, 11 Dec 2019 13:23:30 +0000 (14:23 +0100)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/character/CharacterEditor.java

index 63cf898bc4cf7689f6ae26e687e87e54b75dea4b..8327748331f481e105bb540bda39dad5562a04a8 100644 (file)
@@ -133,7 +133,7 @@ public class CharacterEditor implements IFeatureTreeEditor,IConversationEnabled,
             if(conversation == null){
                 conversation = CdmStore.createConversation();
             }
-            if(cdmEntitySession!=null){
+            if(cdmEntitySession==null){
                 cdmEntitySession = CdmStore.getCurrentSessionManager().newSession(this, true);
             }
         }