Fix problem with non persisted taxon titleCache change: #5018
authorAndreas Müller <a.mueller@bgbm.org>
Mon, 22 Jun 2015 14:35:17 +0000 (16:35 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Mon, 22 Jun 2015 14:36:52 +0000 (16:36 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonBaseDetailElement.java

index 8139ecd577b6f229a6252d482e2ea8b18bd50e3b..8b032a691c9de592c07b3a67ade48c3960a69fcd 100644 (file)
@@ -155,7 +155,7 @@ public class TaxonBaseDetailElement extends AbstractIdentifiableEntityDetailElem
        @Override
        protected void handleTitleCacheRelevantChange(PropertyChangeEvent event) {
                String title = getEntity().generateTitle();
-               getEntity().setTitleCache(title);
+               getEntity().setTitleCache(title, true);
                super.handleTitleCacheRelevantChange(event);
        }