Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
6.0.0-beta2
-
Ubutnu 12.04 3.2.0-26-generic
Embedded Jetty 8.1.3.v20120416
Description
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.