Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5269

XmlAjaxResponse restores wrong response

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.9.0, 7.0.0-M1
    • Fix Version/s: 6.10.0, 7.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      XmlAjaxResponse#writeComponent() erroneously sets the passed response into the requestCycle, although it never was the old (=original) response:

      @Override
      protected void writeComponent(Response response, ...)
      {
      ...
      // Restore original response
      RequestCycle.get().setResponse(response);
      }

      AjaxRequestHandler#respond(...) restores the correct old response afterwards, but temporarily the current response of the RequestCycle is wrong.

        Attachments

          Activity

            People

            • Assignee:
              svenmeier Sven Meier
              Reporter:
              svenmeier Sven Meier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: