Wicket
  1. Wicket
  2. WICKET-5078

RestartResponseException broken with page instance and bookmarkable page

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

        Activity

        Martin Grigorov made changes -
        Fix Version/s 1.5.11 [ 12324069 ]
        Martin Grigorov made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 6.7.0 [ 12323964 ]
        Resolution Fixed [ 1 ]
        Martin Grigorov made changes -
        Resolution Invalid [ 6 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Sven Meier [ svenmeier ] Martin Grigorov [ mgrigorov ]
        Sven Meier made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Sven Meier [ svenmeier ]
        Resolution Invalid [ 6 ]
        Christoph Leiter made changes -
        Field Original Value New Value
        Attachment WICKET-5078-quickstart.zip [ 12572311 ]
        Christoph Leiter created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development