[ 
http://www.stripesframework.org/jira/browse/STS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11134#action_11134
 ] 

Tim Fennell commented on STS-409:
---------------------------------

I've been looking at the source for this and it is clear that it does indeed 
try to perform type conversion even if there are errors from the pre-conversion 
validations.  I tend to think we should change this so that as soon as a field 
has an error we stop processing that field (but continue with others so we can 
present all the useful errors).  Anyone disagree?

> TypeConverter validation error is thrown even is mask validation error was 
> thrown
> ---------------------------------------------------------------------------------
>
>                 Key: STS-409
>                 URL: http://www.stripesframework.org/jira/browse/STS-409
>             Project: Stripes
>          Issue Type: Bug
>          Components: Validation
>    Affects Versions: Release 1.4
>            Reporter: Kristen Fortino
>             Fix For: Release 1.5
>
>
> I have an integer field (port) with a mask validation(mask="\\d*") and when I 
> enter a value such as "a9a" in the field, I correctly get my validation error 
> for failing my mask but I also get the validation error for the integer type 
> conversion.  
> According to the stripes documentation once I get the validation error on the 
> mask, validation shouldn't happen with the type conversion.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to