[
https://issues.apache.org/struts/browse/WW-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44103#action_44103
]
Brad Cupit commented on WW-2292:
--------------------------------
I actually like this "bug", or maybe I should call it a feature :-)
I suppose if this is the desired functionality (meaning, don't require
@Validation at the class level) then I suppose this bug could be changed to
"documentation of @Validation is incorrect".
> Validation occurs without need the @Validation annotation with Zero
> Configuration
> ---------------------------------------------------------------------------------
>
> Key: WW-2292
> URL: https://issues.apache.org/struts/browse/WW-2292
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.0.9, 2.0.11
> Environment: Windows XP 2600.xpsp_sp2_rtm.040803-2158 (SP2). Tomcat
> 6.0.14
> Reporter: Jason Douglas de Oliveira
> Fix For: 2.1.4
>
>
> When the action class has some annotation related with validation like:
> @RequiredStringValidator, @StringLengthFieldValidator,
> @RequiredFieldValidator, etc. The action is validate without need the
> @Validation annotation.
> I try too with @VisitorFieldValidator and the same behavior happen.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.