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

PageStore loses all stored pages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.0.0-M6
    • 6.27.0, 7.8.0, 8.0.0-M7
    • wicket, wicket-extensions
    • None
    • Jetty 9.4.5.v20170502

    Description

      When using ModalWindow in combination with PageReference does not work since version 8.0.0-M6.

      I tried 8.0.0-M5 as well without getting this issue.

      Using the example code of wicket-examples, the call (ModalWindowPage)modalWindowPage.getPage() will always return null instead of the page.

      The PageReference object contains a valid pageId, but the PageManager cannot find the object referenced by this ID.

      I attached an example project to show this issue
      (use mvn clean compile jetty:run to start local webserver on 8080).

      I'm also pretty sure that this problem will also occur with the wicket-example code.
      My example is just a stripped version of the wicket-examples modal window sample which will throw an IllegalArgumentException when getPage() is null.

      Attachments

        1. modal_sample.tgz
          3 kB
          David M.

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              hypfvieh David M.
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: