[jboss-user] [JBoss Seam] - Typo in Lifecycle.beginSession

dilator do-not-reply at jboss.com
Tue Jan 23 06:16:33 EST 2007


Hi Gavin,

Found a typo in Lifecycle.beginSession



  |       if ( !eventContextActive )
  |       {
  |          tempEventContext = new MapContext(ScopeType.EVENT);
  |          Contexts.applicationContext.set(tempEventContext);
  |       }
  | 

Should be:


  |       if ( !eventContextActive )
  |       {
  |          tempEventContext = new MapContext(ScopeType.EVENT);
  |          Contexts.eventContext.set(tempEventContext);
  |       }
  | 

Pretty obscure - you only see the effects with Session scoped @Startup components and filters that aggressively (create=true) access the HttpSession.

Cheers-Ben

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005263#4005263

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005263



More information about the jboss-user mailing list