Wicket
  1. Wicket
  2. WICKET-5036

Post Parameters are lost when continueToOriginalDestination() is called

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.6.0
    • Component/s: wicket
    • Labels:
      None

      Description

      if a RestartResponseAtInterceptPageException() is thrown during a POST request, the InterceptData.set() method is saving off the parameters, but the call to continueToOriginalDestination() doesn't read these parameters and they get lost on the subsequent call (see lines 173-174 of RestartResponseAtInterceptPageException).

      I will attach a quickstart demoing this. In the quickstart, I would expect the call to continueToOriginalDestination() on the EulaPage to call into the authenticate() on the session and now they should be authenticated, but that call never happens. Instead, it goes back to the SignInPage.

        Issue Links

          Activity

          Steve Lowery created issue -
          Steve Lowery made changes -
          Field Original Value New Value
          Attachment wicket-post-problems.zip [ 12568983 ]
          Sven Meier made changes -
          Link This issue is broken by WICKET-5040 [ WICKET-5040 ]
          Sven Meier made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Sven Meier [ svenmeier ]
          Fix Version/s 6.6.0 [ 12323963 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Sven Meier
              Reporter:
              Steve Lowery
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development