ignore cacheStrategy == null on identifable entity
authorAndreas Müller <a.mueller@bgbm.org>
Tue, 18 Aug 2009 16:01:10 +0000 (16:01 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Tue, 18 Aug 2009 16:01:10 +0000 (16:01 +0000)
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/IdentifiableEntity.java

index 9237f06549e232a366dff524640448d44e271e93..ee4eca7e3847e676a47cdde0446726bef809e943 100644 (file)
@@ -434,8 +434,8 @@ public abstract class IdentifiableEntity<S extends IIdentifiableEntityCacheStrat
                
                public String generateTitle() {
                        if (cacheStrategy == null){
-                               logger.warn("No CacheStrategy defined for "+ this.getClass() + ": " + this.getUuid());
-                               return null;
+                               //logger.warn("No CacheStrategy defined for "+ this.getClass() + ": " + this.getUuid());
+                               return this.getClass() + ": " + this.getUuid();
                        }else{
                                return cacheStrategy.getTitleCache(this);
                        }