Details
-
New Feature
-
Resolution: Fixed
-
Major
-
1.9.2, 2.0 M2
-
None
-
Unknown
-
Description
The goal is to make sure the ExecutionContext automatically contains a usable XWikiContext even for deamon thread. When ExecutionContextInitializer is called the first time for a request, the valid XWikiContext is used to create a stub XWikiContext and then each ExecutionContextInitializer called from daemon thread with no XWikiContext already in the ExecutionContext a clone of the stub XWikiContext is injected in it.