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

Double-submit of TokenSessionStoreInterceptor broken since 2.5.16

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.16, 2.5.20
    • 2.5.22, 6.0.0
    • Core Interceptors
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: