Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3611

Redirect to Buffer makes one redirect too much

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-RC3
    • 1.5-RC4
    • wicket
    • None

    Description

      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.

      Attachments

        1. wicket-3611.tgz
          18 kB
          Martin Tzvetanov Grigorov

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: