Maybe it was broken by a previous commit, change? It is definitely working on 6.22.0
On Wed, Mar 16, 2016 at 2:14 PM, Sven Meier (JIRA) <[email protected]> wrote: > > [ > https://issues.apache.org/jira/browse/WICKET-6124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197283#comment-15197283 > ] > > Sven Meier commented on WICKET-6124: > ------------------------------------ > > You should definitely #setFollowRedirects(false) in your test. > > I'm still trying to find out why it worked without before (i.e. before > WICKET-5389). > > > 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) > -- Regards - Ernesto Reinaldo Barreiro
