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

XmlAjaxResponse restores wrong response

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.9.0, 7.0.0-M1
    • 6.10.0, 7.0.0-M1
    • wicket
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: