Server validation potentially broken since 2.3.1
------------------------------------------------

                 Key: WW-3745
                 URL: https://issues.apache.org/jira/browse/WW-3745
             Project: Struts 2
          Issue Type: Bug
          Components: XML Validators
    Affects Versions: 2.3.1.1, 2.3.1
         Environment: Windows 7 / JDK 1.7u2 / Tomcat 7.0.24 x64 / Maven 3.0.2
            Reporter: Stéphane Meny
            Priority: Critical


We started to migrate our project from Struts 2.2.3.1 to 2.3.1 (also tested 
with 2.3.1.1)
We currently use the server validation using XML validators with 
ActionClass-alias-validator.xml syntax.
Our interceptor stack is correctly configured having :
...
<interceptor-ref name="validation" />
<interceptor-ref name="workflow" />
...
Since this migration, our tests are resulting in database constraints violation 
because it seems that the validation is not called anymore.
Problem is solved when coming back to version 2.2.3.1
I have checked online documentation 
(http://struts.apache.org/2.3.1.1/docs/validation.html) but I can't see any 
change done from 2.2.3.1

The only similar issue I have found is 
https://issues.apache.org/jira/browse/WW-3736 but is on Client side, could be a 
potential clue.

Best regards,

Stéphane


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to