Sven Meier created WICKET-5269:
----------------------------------

             Summary: XmlAjaxResponse restores wrong response
                 Key: WICKET-5269
                 URL: https://issues.apache.org/jira/browse/WICKET-5269
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.9.0, 7.0.0
            Reporter: Sven Meier
            Assignee: Sven Meier
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to