You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/04/13 14:00:06 UTC

[jira] [Updated] (WICKET-3611) Redirect to Buffer makes one redirect too much

     [ https://issues.apache.org/jira/browse/WICKET-3611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-3611:
------------------------------------

    Attachment: wicket-3611.tgz

A quickstart that shows the behavior in 1.4.

> Redirect to Buffer makes one redirect too much
> ----------------------------------------------
>
>                 Key: WICKET-3611
>                 URL: https://issues.apache.org/jira/browse/WICKET-3611
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC3
>            Reporter: Martin Grigorov
>         Attachments: wicket-3611.tgz
>
>
> It seems the default redirect strategy makes one redirect more than needed.
> Here is the scenario: there is a page A with a (non-ajax) link that sets page B as response page (setResponsePage(B.class).
> In 1.4 this leads to two http requests: 
> - one to the A's link listener
> - and another redirecting to page B
> In 1.5 there are three:
> - one to the A's link listener
> - another redirecting to page B
> - and yet another one again redirecting to B
> With "redirect to render" strategy in both versions just two requests are issued.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira