added conversationholder.commit fix to AbstractFilteredCdmResourceSelectionDialog...
authorCherian Mathew <c.mathew@bgbm.org>
Fri, 8 Nov 2013 16:26:18 +0000 (16:26 +0000)
committerCherian Mathew <c.mathew@bgbm.org>
Fri, 8 Nov 2013 16:26:18 +0000 (16:26 +0000)
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/PolytomousKeyViewPart.java
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TaxonNavigator.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/AbstractFilteredCdmResourceSelectionDialog.java

index e3db3def0641c4ba6ffb46352e41687b449e943e..36c455e9e853031021ef04e8981b444883196e66 100644 (file)
@@ -259,6 +259,7 @@ public class PolytomousKeyViewPart extends ViewPart implements
         */
        public void refresh() {
                getConversationHolder().bind();
+               //FIXME : Need to make sure this is a stable fix (ticket 3822)
                getConversationHolder().commit();
                List<PolytomousKey> input = CdmStore.getService(IPolytomousKeyService.class).list(PolytomousKey.class, null, null, null, null);                 
                viewer.setInput(input);
index e656dcba82b4769e6e11e2d5c71cdeb815129c9e..a95b3255bed4d3f40ca68bd9378c9515b7c7dde0 100644 (file)
@@ -111,6 +111,7 @@ public class TaxonNavigator extends CommonNavigator implements
        public void refresh() {
                if(getConversationHolder() != null){
                        getConversationHolder().bind();                 
+                       //FIXME : Need to make sure this is a stable fix (ticket 3822)
                        getConversationHolder().commit();
                }
                getCommonViewer().refresh();
index 1730721f108ce39b9fc38f58aa6e6daa438d2df9..171df7231870c61ab6e7b7822587245deb579f2c 100644 (file)
@@ -481,6 +481,8 @@ public abstract class AbstractFilteredCdmResourceSelectionDialog<T extends ICdmB
                                        refresh();
                                        setPattern(entity);
                                        getConversationHolder().bind();
+                                       //FIXME : Need to make sure this is a stable fix (ticket 3822)
+                                       getConversationHolder().commit();
                                }
                        }
                };