You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Alvin Singh (JIRA)" <ji...@apache.org> on 2008/11/14 06:30:37 UTC

[jira] Created: (WW-2868) JSONValidationInterceptor does not execute 'validate' method

JSONValidationInterceptor does not execute 'validate' method
------------------------------------------------------------

                 Key: WW-2868
                 URL: https://issues.apache.org/struts/browse/WW-2868
             Project: Struts 2
          Issue Type: Bug
          Components: Core Interceptors
    Affects Versions: 2.1.2
            Reporter: Alvin Singh


The interceptor does not handle validations which are defined in a 'validate' method of the action. It does not execute the method so does not capture these fielderrors/actionerrors (i.e. only supports xml and annotation based validation).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WW-2868) JSONValidationInterceptor does not execute 'validate' method

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2868.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.6

This was a problem before, because the WorkflowInterceptor was the one executing validate(), and that interceptor would never be called if the JSONValidationInterceptor was active. This problem was fixed, and the validate() invokation logic was moved to the validation interceptor. 

> JSONValidationInterceptor does not execute 'validate' method
> ------------------------------------------------------------
>
>                 Key: WW-2868
>                 URL: https://issues.apache.org/struts/browse/WW-2868
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.1.2
>            Reporter: Alvin Singh
>             Fix For: 2.1.6
>
>
> The interceptor does not handle validations which are defined in a 'validate' method of the action. It does not execute the method so does not capture these fielderrors/actionerrors (i.e. only supports xml and annotation based validation).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.