You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2021/05/26 16:05:54 UTC

[empire-db] branch master updated: EMPIREDB-354 avoid unnecessary log message

This is an automated email from the ASF dual-hosted git repository.

doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git


The following commit(s) were added to refs/heads/master by this push:
     new e769633  EMPIREDB-354 avoid unnecessary log message
e769633 is described below

commit e7696338af2dfa49b84e7669f92a83913f4004a3
Author: Rainer Döbele <do...@apache.org>
AuthorDate: Wed May 26 18:05:50 2021 +0200

    EMPIREDB-354
    avoid unnecessary log message
---
 .../main/java/org/apache/empire/jsf2/controls/SelectInputControl.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/SelectInputControl.java b/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/SelectInputControl.java
index 619cf5e..08a63ed 100644
--- a/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/SelectInputControl.java
+++ b/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/controls/SelectInputControl.java
@@ -345,7 +345,8 @@ public class SelectInputControl extends InputControl
         // Lookup and Print value
         if (vi.getOptions() == null)
         {
-            SelectInputControl.log.warn("Select field {} has no Option list attached!", vi.getColumn().getName());
+            if (!hasFormatOption(vi, "nolookup"))
+                SelectInputControl.log.warn("Select field {} has no Option list attached!", vi.getColumn().getName());
             return super.formatValue(value, vi);
         }
         // Check for Abbreviation