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

RestartResponseException broken with page instance and bookmarkable page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.6.0
    • 6.7.0, 1.5.11
    • wicket
    • None

    Description

      If I do throw new RestartResponseException(new OtherPage("redirected!")); on OtherPage itself and OtherPage is mounted then a completely new page is constructed and displayed instead of the instance I created.

      Does not happen if the page isn't mounted or the current page is not OtherPage. If I hide the default constructor it also doesn't happen.

      I'll attach a quickstart which demonstrates the problem.

      Attachments

        1. WICKET-5078-quickstart.zip
          22 kB
          Christoph Leiter

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            cleiter Christoph Leiter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: