struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-4566) Form.getValidators does not respect validateAnnotatedMethodOnly flag
Date Thu, 12 Nov 2015 13:58:11 GMT

     [ https://issues.apache.org/jira/browse/WW-4566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart resolved WW-4566.
-------------------------------
    Resolution: Fixed

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)

Mime
View raw message