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

RestartResponseException broken with page instance and bookmarkable page

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6.0
    • Fix Version/s: 6.7.0, 1.5.11
    • Component/s: wicket
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: