You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2015/11/12 14:59:11 UTC

[jira] [Comment Edited] (WW-4566) Form.getValidators does not respect validateAnnotatedMethodOnly flag

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

Lukasz Lenart edited comment on WW-4566 at 11/12/15 1:58 PM:
-------------------------------------------------------------

PR applied, thanks!


was (Author: lukaszlenart):
PR applied, thans!

> Form.getValidators does not respect validateAnnotatedMethodOnly flag
> --------------------------------------------------------------------
>
>                 Key: WW-4566
>                 URL: https://issues.apache.org/jira/browse/WW-4566
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.3.16
>            Reporter: Lukasz Racon
>             Fix For: 2.5
>
>
> WW-4139 removed method name from getValidators call.  While this works fine for a case mentioned in that ticket it fails to account for a case when 
> dynamicMethodCalls and validateAnnotatedMethodOnly are used. Without 
> method name actionValidatorManager.getValidators returns all validators defined for a given field. 
> Expected behavior for dynamicMethodCalls with validateAnnotatedMethodOnly case is to return validators for a given field defined at the method level.
> Patch:
> https://github.com/apache/struts/pull/57



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)