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/10 06:47:10 UTC
[jira] [Updated] (WW-4566) Form.getValidators does not respect
validateAnnotatedMethodOnly flag
[ https://issues.apache.org/jira/browse/WW-4566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-4566:
------------------------------
Fix Version/s: 2.5
> 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)