UIInput only checks submittedValue against null in validate Method
-------------------------------------------------------------------
Key: MYFACES-1556
URL: https://issues.apache.org/jira/browse/MYFACES-1556
Project: MyFaces Core
Issue Type: Bug
Components: General
Affects Versions: 1.1.5
Environment: tomcat 5.5.17, jdk1.5_09
Reporter: Frank Würffel
Priority: Trivial
When required of a TextInputField is false and the submitted Value is empty the
Validation should return but in the Method
validate(FacesContext context) of UIInput the submittedValue is checked against
null
However the get on RequestParameterMap returns an empty String if the formField
is empty and not a null value.
the if Statement needs to check for null or empty string and if required is
false return.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.