struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bruce.yu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-3699) VisitorFieldValidator & AnnotationActionValidatorManager.buildValidatorKey
Date Wed, 09 Nov 2011 08:39:51 GMT

    [ https://issues.apache.org/jira/browse/WW-3699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146849#comment-13146849
] 

bruce.yu commented on WW-3699:
------------------------------

condition:
1.	both two actions'name are 'index'
2.	struts.devMode=false

work flow:
1.	get http://localhost:8080/test-struts2/ex1.jsp, press submit;
2.	get http://localhost:8080/test-struts2/ex2.jsp, press submit
you will see the validation of ex1.action. it's wrong.

reason:
VisitorFieldValidator call actionValidatorManager.validate,
but AnnotationActionValidatorManager.buildValidatorKey only take action's name, not with namespace.

                
> VisitorFieldValidator & AnnotationActionValidatorManager.buildValidatorKey
> --------------------------------------------------------------------------
>
>                 Key: WW-3699
>                 URL: https://issues.apache.org/jira/browse/WW-3699
>             Project: Struts 2
>          Issue Type: Bug
>          Components: XML Validators
>    Affects Versions: 2.2.3.1
>            Reporter: bruce.yu
>         Attachments: test-struts2.zip
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message