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

Double-submit of TokenSessionStoreInterceptor broken since 2.5.16

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.16, 2.5.20
    • Fix Version/s: 2.5.22, 2.6
    • Component/s: Core Interceptors
    • Environment:

      Tomcat 7.0.x (but should reproduce on any application server)

      Description

      With recent fixes to the Showcase application it was discovered that the 3rd Token example (for TokenSessionStoreInterceptor) is failing upon the double-submit with Struts versions 2.5.16 - 2.5.20 (and 2.5.21 snapshot). Steps to reproduce:
      1) Launch Struts 2.5.21-snapshot showcase application
      2) Open the Examples, Token, Example 3.
      3) Click on submit (wait for completion), back button in browser, then submit again.
      4) Application container returns a response code 500.

      The issue appears to have been introduced with fixes for WW-4873. A proposed fix for this issue will be provided in a PR shortly.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              JCjA492kH6347Vb10Ja53 James Chaplin
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: