Project

General

Profile

« Previous | Next » 

Revision faff2674

Added by Patrick Plitzner over 6 years ago

ref #7086 Protect titleCache for new working sets

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/FeatureTreeSelectionDialog.java
80 80
                    // User clicked OK; update the label with the input
81 81
                    FeatureTree tree = FeatureTree.NewInstance();
82 82
                    CdmStore.getService(IFeatureTreeService.class).merge(tree,true);
83
                    tree.setTitleCache(dialog.getValue());
83
                    tree.setTitleCache(dialog.getValue(), true);
84 84
                    refresh();
85 85
                    setPattern(tree);
86 86
                  }
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/WorkingSetSelectionDialog.java
109 109
                    WorkingSet workingSet = WorkingSet.NewInstance();
110 110
                    CdmStore.getService(IWorkingSetService.class).merge(workingSet,true);
111 111
                    workingSet.setLabel(dialog.getValue());
112
                    workingSet.setTitleCache(dialog.getValue());
112
                    workingSet.setTitleCache(dialog.getValue(), true);
113 113
                    refresh();
114 114
                    setPattern(workingSet);
115 115
                  }

Also available in: Unified diff