Decreased log severity for terms with missing title caches
authorn.hoffmann <n.hoffmann@localhost>
Thu, 1 Mar 2012 10:02:31 +0000 (10:02 +0000)
committern.hoffmann <n.hoffmann@localhost>
Thu, 1 Mar 2012 10:02:31 +0000 (10:02 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/combo/TermComboElement.java

index 08f00c59fa08dfad5251dd228b9651c5fe96bae4..c43ac73e0ab1ec0b7118a81bb0bfff538c154c94 100644 (file)
@@ -191,14 +191,14 @@ public class TermComboElement<T extends DefinedTermBase>
                        if (label == null) {
                                if (term.getTitleCache() != null) {
                                        label = term.getTitleCache();
-                                       StoreUtil.error(getClass(),
+                                       StoreUtil.warn(getClass(),
                                                        "Term does not have a representation: " + term
-                                                                       + ", " + term.getUuid(), null);
+                                                                       + ", " + term.getUuid());
                                } else {
                                        label = "Unknown";
-                                       StoreUtil.error(getClass(),
+                                       StoreUtil.warn(getClass(),
                                                        "Representation Label and TitleCache empty for term: "
-                                                                       + term + ", " + term.getUuid(), null);
+                                                                       + term + ", " + term.getUuid());
                                }
 
                        }