struts-issues mailing list archives

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

             Summary: 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


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