[
https://issues.apache.org/jira/browse/WICKET-6651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16813774#comment-16813774
]
ASF subversion and git services commented on WICKET-6651:
---------------------------------------------------------
Commit cb59bc87d4ed930f83574e9cd0a4d866fc08d611 in wicket's branch
refs/heads/master from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=cb59bc8 ]
WICKET-6651 Redirecting with ResetResponseException does not work anymore
Do not use ES6 syntax in JS tests (yet)
(cherry picked from commit 4441ddf3f8c6f957937011bd2a43fbc8f53353f7)
> Redirecting with ResetResponseException does not work anymore
> -------------------------------------------------------------
>
> Key: WICKET-6651
> URL: https://issues.apache.org/jira/browse/WICKET-6651
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 8.4.0
> Reporter: Thomas Heigl
> Assignee: Martin Grigorov
> Priority: Major
> Fix For: 9.0.0, 8.5.0
>
> Attachments: ajax-redirect.zip
>
>
> After upgrading from 8.3.0 to 8.4.0 redirecting with
> {{ResetResponseException}} does not work anymore.
> I'm using the following exception to redirect on some of my pages:
> {code:java}
> public class RestartResponseWithStatusCodeException extends
> ResetResponseException {
>
> public RestartResponseWithStatusCodeException(final String url, final int
> statusCode) {
> super(new RedirectRequestHandler(url, statusCode));
> }
> }{code}
> This is most definitely caused by WICKET-6638.
> I don't have time to prepare a quickstart right now, but maybe someone knows
> what's going on? We discovered the issue on our stateless public pages, so it
> might also be related to statelessness.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)