Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 393552

Summary: Rework SessionStore initialization
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description RĂ¼diger Herrmann CLA 2012-11-05 08:22:38 EST
The session store is currently lazily initialized in ContextProvider#getSessionStore(). If a session is to be re-initialized, this is done by mostly duplicate code in LifeCycleServiceHandler#reinitializeSessionStore().
I suggest to migrate both code passages into a common place and moreover initialize the session store before it is needed for the first time (i.e. if Session.isNew() reports true).
Comment 1 Ralf Sternberg CLA 2013-06-06 09:49:23 EDT
The UISession initialization has been reworked in 2.1.

*** This bug has been marked as a duplicate of bug 344564 ***