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-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.

        Activity

        Sven Meier created issue -
        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
        Sven Meier made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 7.0.0 [ 12322958 ]
        Fix Version/s 6.10.0 [ 12324643 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        7m 38s 1 Sven Meier 09/Jul/13 15:08

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development