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

ExecuteAndWaitInterceptor inconsistent wait processing behaviour

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.1.2
    • 6.2.0
    • Core, Core Interceptors
    • Java 8, Tomcat 8.5.  The behaviour will likely be the same for other Java/Server combinations.

    Description

      The ExecuteAndWaitInterceptor processing appears to only execute as expected for the first run-through for any given session. 

      This can be seen interactively using the Struts2 Showcase "Execute and Wait Examples", with the wait processing only functioning during the first attempt through each example in the same session.  Clearing the session in the browser gives the expected wait behaviour again, but only one time (until clearing the session again).

      After debugging the ExecuteAndWaitInterceptor flow, it appears that the removal from the SessionMap did not perform as expected, resulting in a state divergence with the underlying session.

      A PR that attempts to fix the behaviour will be submitted soon.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h