Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 1.7.2 SP1
-
Fix Version/s: 1.8RC1
-
Component/s: None
-
Labels:None
-
Environment:ANY
-
Assignee Priority:P2
Description
custom validator is not fired for selectInputDate when value entered is invalid
user may want to perform some extra steps during the validation process other than display the error message
for example, a customer wants to have a popup showing the validation error.
user may want to perform some extra steps during the validation process other than display the error message
for example, a customer wants to have a popup showing the validation error.
Activity
Mark Collette
made changes -
Status | Open [ 1 ] | Closed [ 6 ] |
Fix Version/s | 1.8RC1 [ 10143 ] | |
Fix Version/s | 1.8 [ 10161 ] | |
Resolution | Invalid [ 6 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8 [ 10161 ] | |
Assignee Priority | P2 |
Mark Collette
made changes -
Assignee | Mark Collette [ mark.collette ] |
Sam Xiao
made changes -
Description |
custom validator is fired for selectInputDate when value entered is invalid user may want to perform some extra steps during the validation process other than display the error message for example, a customer wants to have a popup showing the validation error. |
custom validator is not fired for selectInputDate when value entered is invalid user may want to perform some extra steps during the validation process other than display the error message for example, a customer wants to have a popup showing the validation error. |
Sam Xiao
made changes -
Attachment | support7864.war [ 11426 ] |
Sam Xiao
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [50070000007Zbmo] |
Sam Xiao
created issue -
For UIInput subclasses, validation has a non-intuitive quirk: required and validator processing are mutually exclusive. That is, if a submitted value is "empty", then required will be checked. And if the submitted value is "not empty" then the validator will be checked. So, empty submitted values will not be validated against the validator, only against required.
Furthermore, from the test case, there would not be a Date with zeros for the year, month and day. That would cause a converter error, and would not get to the validator.