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 8c2d74a  EMPIREDB-306 small bugfix
8c2d74a is described below

commit 8c2d74a81212ad7f1f6e75cdeaa6c34beb7fd9e1
Author: Rainer Döbele <[email protected]>
AuthorDate: Tue Oct 29 13:37:04 2019 +0100

    EMPIREDB-306
    small bugfix
---
 .../main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java
 
b/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java
index 6c86fdf..6c74605 100644
--- 
a/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java
+++ 
b/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java
@@ -602,7 +602,10 @@ public class TagEncodingHelper implements NamingContainer
         if (column == null)
             column = findColumn();
         if (column == null)
-        {   // @deprecated: for compatiblity only!
+        {   // @deprecated: for compatibility only!
+            if (getTagAttributeValue("column")!=null)
+                return false; // provided but not found
+            // find value
             column = findColumnFromValue();  
             if (column!=null)
                 log.warn("Providing the column as the value is deprecated. Use 
column attribute insteam. This might be removed in future versions!");

Reply via email to