[
https://issues.apache.org/struts/browse/WW-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42578
]
Dave Newton commented on WW-2292:
---------------------------------
This is (apparently) the expected behavior if subclassing ActionSupport,
although I understand the confusion.
"There's another semantic, @SkipValidation, that is intended to suppress
inherited validations. (Though, it may still not work quite right.)"
There are also a few ways to skip validation based on what method is being
executed (the validation interceptor is a MethodFilterInterceptor subclass, for
example).
> 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.