[
https://issues.apache.org/jira/browse/WICKET-6124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197336#comment-15197336
]
Sven Meier commented on WICKET-6124:
------------------------------------
Ok, this is what happening:
Your test is redirecting to a URL, that Wicket cannot process:
Before WICKET-5389 BaseWicketTester#processRequest() would just return false
(line #720), leaving the current request untouched.
After WICKET-5389 BaseWicketTester sets up the next request and then returns
false.
IMHO this is consistent and you should either #setFollowRedirects(false) or
redirect to an external URL (which is also not followed).
> wicket tested getLastResponse().getRedirectLocation() broken after WICKET-5389
> ------------------------------------------------------------------------------
>
> Key: WICKET-6124
> URL: https://issues.apache.org/jira/browse/WICKET-6124
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.2.0
> Reporter: Ernesto Reinaldo Barreiro
> Assignee: Sven Meier
> Priority: Minor
>
> Because of wicket WICKET-5389 getLastResponse().getRedirectLocation() will
> return null after a redirect exception is thrown see discussion at
> http://markmail.org/message/wbavzriscdis22qv?q=wicket
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)