Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.4-SNAPSHOT
-
None
-
None
Description
The problem seems to be in javax.faces.component._SelectItemsUtil.matchValue(FacesContext context, Object value, Iterator selectItemsIter, _ValueConverter converter) method.
Line 63-72:
Object itemValue = item.getValue();
if(converter != null && itemValue instanceof String)
if (value==itemValue || value.equals(itemValue))
{ return true; }If item's value is java.lang.String then this code does duplicate conversion making matchValue() return false and subsequently resulting in error in calling method (validateValue() in javax.faces.component.UISelectOne and javax.faces.component.UISelectMany).