Fixed a problem where the details view did not have a session
authorn.hoffmann <n.hoffmann@localhost>
Thu, 6 Oct 2011 08:39:19 +0000 (08:39 +0000)
committern.hoffmann <n.hoffmann@localhost>
Thu, 6 Oct 2011 08:39:19 +0000 (08:39 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/forms/AbstractFormSection.java

index b52d87de5767730db7f5378abec18337fbe35d73..7b7f901a7dcfe153f62ba08b1cc0eae6de3b5e7e 100644 (file)
@@ -550,7 +550,7 @@ public abstract class AbstractFormSection<ENTITY> extends Section implements
         *         object.
         */
        public ConversationHolder getConversationHolder() {
-               if(getParentElement() == null){
+               if(getParentElement() instanceof RootElement || getParentElement() == null){
                
                        IEditorPart activeEditor = StoreUtil.getActiveEditor();
                        if(activeEditor instanceof IConversationEnabled){