[
http://www.stripesframework.org/jira/browse/STS-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12176#comment-12176
]
Marcus Kraßmann commented on STS-752:
-------------------------------------
What about this: Every conversion to null results in a ValidationError if the
provided input is not null. Are there possible scenarios where null would be an
acceptable return value for a converter?!
> @Validate(required=true) only applies to parameters pre-conversion
> ------------------------------------------------------------------
>
> Key: STS-752
> URL: http://www.stripesframework.org/jira/browse/STS-752
> Project: Stripes
> Issue Type: Bug
> Components: Validation
> Reporter: Aaron Porter
> Assignee: Aaron Porter
> Priority: Minor
> Fix For: Release 1.6
>
>
> Validation for required parameters passes when a parameter is not null and
> not empty even if the type converter returns null. It seems that if a
> property is marked with @Validate(required=true) then the type converter
> returning null should trigger a validation error.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development