Wicket
  1. Wicket
  2. WICKET-5269

XmlAjaxResponse restores wrong response

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.9.0, 7.0.0
    • Fix Version/s: 6.10.0, 7.0.0
    • 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.

        Activity

        Hide
        Sven Meier added a comment -

        the response is now restored where it was altered

        Show
        Sven Meier added a comment - the response is now restored where it was altered

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development