Wicket
  1. Wicket
  2. WICKET-4197

ListenerInterfaceRequestHandler fails with an exception if a new page is created and the component does not exist on that page

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.5.3
    • Component/s: wicket
    • Labels:
      None

      Description

      ListenerInterfaceRequestHandler.response looks up the component on the page, but does not handle ComponentNotFoundException thrown by PageAndComponentProvider when the component does not exist. A situation where this might occur, is that the page instance is fresh and the component is added in onBeforeRender.

      The attached quickstart demonstrates the problem. Copy the URL of the link at the bottom, paste it in the location bar and change the page id, simulating an expired page (ie session timeout). This will give a ComponentNotFoundException.

      1. 0002-WICKET-4197.patch
        1 kB
        Emond Papegaaij
      2. quickstart.tar.bz2
        20 kB
        Emond Papegaaij

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Igor Vaynberg
            Reporter:
            Emond Papegaaij
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development