[ 
https://issues.apache.org/jira/browse/WICKET-6387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-6387.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 8.0.0-M7
                   7.8.0
                   6.27.0

> ModalWindow PageReference broken
> --------------------------------
>
>                 Key: WICKET-6387
>                 URL: https://issues.apache.org/jira/browse/WICKET-6387
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket, wicket-extensions
>    Affects Versions: 8.0.0-M6
>         Environment: Jetty 9.4.5.v20170502
>            Reporter: David M.
>            Assignee: Martin Grigorov
>             Fix For: 6.27.0, 7.8.0, 8.0.0-M7
>
>         Attachments: modal_sample.tgz
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to