[ http://jira.magnolia.info/browse/MAGNOLIA-1799?page=comments#action_14930 
] 
            
Grégory Joseph commented on MAGNOLIA-1799:
------------------------------------------

doInSystemContext(SystemContextOperation op) executes the given op 
synchronously.

> unset context in all threads, add MgnlContext.doInSystemContext() method
> ------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-1799
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1799
>             Project: Magnolia
>          Issue Type: Sub-task
>    Affects Versions: 3.1 M3
>            Reporter: Philipp Bracher
>         Assigned To: Andriy Shapochka
>             Fix For: 3.1
>
>
> In some threads we do 
> MgnlContext.setInstance(MgnlContext.getSystemContext()). But then we don't 
> unset the context. If the threads are then used for request the ContextFilter 
> fails to set a web context.
> This is the case for the servlet context listeners and observation event 
> listeners
> A MgnlContext.doInSystemContext(runnable) would be nice.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to