ref #7709 use id instead of uuid for CdmEntityCacheKey in ConversationalTransientEnti...
authorAndreas Müller <a.mueller@bgbm.org>
Thu, 30 Aug 2018 21:12:16 +0000 (23:12 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Thu, 30 Aug 2018 21:12:16 +0000 (23:12 +0200)
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/remoting/cache/ConversationalTransientEntityCacher.java

index 5ab28711a8602e45c3839415a84c61b773833bf6..1988a89c72df9c92d70ff50e685335691b87bdfe 100755 (executable)
@@ -62,7 +62,7 @@ public class ConversationalTransientEntityCacher extends CdmTransientEntityCache
         // in the cache
 
         for(CdmEntityIdentifier cei : updatedCdmIds) {
-            if(exists(new CdmEntityCacheKey<>(cei.getCdmClass(), cei.getUuid()))) {
+            if(exists(new CdmEntityCacheKey<>(cei.getCdmClass(), cei.getId()))) {
                 reloadedObjects.add(load(cei, update));
             }