Pouyan Zaxar created WICKET-4642:
------------------------------------

             Summary: Atmosphere Modul not working on first page after Jetty 
restart
                 Key: WICKET-4642
                 URL: https://issues.apache.org/jira/browse/WICKET-4642
             Project: Wicket
          Issue Type: Bug
          Components: wicket-atmosphere
    Affects Versions: 6.0.0-beta2
         Environment: Ubutnu 12.04 3.2.0-26-generic
Embedded Jetty 8.1.3.v20120416
            Reporter: Pouyan Zaxar
            Assignee: Emond Papegaaij
            Priority: Minor


After Jetty is started if the very first page being visited is a page with 
AtmosphereBehavior (using @Subscribe), for some reason by the time the page is 
being registered by EventBus (#registerPage(String trackingId, Page page)) the 
session is null and after the page has been rendered its not null any more thus 
having a different PageKey and so the events for the page are filtered out at 
line #140 or EventBus

If you just add Session.get().bind() in the constructor method of your page, 
everything would work as expected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to