Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3745

Server validation potentially broken since 2.3.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.1, 2.3.1.1
    • 2.3.3
    • Documentation
    • None
    • Windows 7 / JDK 1.7u2 / Tomcat 7.0.24 x64 / Maven 3.0.2

    Description

      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

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            smeny Stéphane Meny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: