[
https://issues.apache.org/struts/browse/WW-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45381#action_45381
]
Crume, Adam commented on WW-2255:
---------------------------------
I will be out of the office until Friday, January 2. Please contact David
Carter if you need immediate assistance.
**************************************************************************************************
Note:
The information contained in this message may be privileged and confidential
and
protected from disclosure. If the reader of this message is not the intended
recipient, or an employee or agent responsible for delivering this message to
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify us immediately by
replying to the message and deleting it from your computer.
**************************************************************************************************
> Field validators should be skipped if there is a conversion error
> -----------------------------------------------------------------
>
> Key: WW-2255
> URL: https://issues.apache.org/struts/browse/WW-2255
> Project: Struts 2
> Issue Type: Improvement
> Components: XML Validators
> Reporter: Adam Crume
> Fix For: 2.2.x
>
> Attachments: ConversionErrorInterceptor2.java
>
>
> If there is an error converting a field, the validators for that field should
> be skipped. For example, let's say I have an action with an "age" field
> declared as an Integer, and the field is required. If the user enters "one",
> the user will see two errors: one from the conversion process, and one from
> the required validator (since the field was never assigned).
> In general, a conversion error should short-circuit all validators for that
> field, since validators depend on the field being set, which never happens if
> there was a conversion error.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.