[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20425#action_20425
 ] 

Hudson CI server commented on MAGNOLIA-2535:
--------------------------------------------

Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! 
[magnolia_main-trunk 
#527|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/527/]
     MAGNOLIA-1455 * Moved warn message about response being already commited 
to JspTemplateRender, as this is the only place where it is relevant
* ServletTemplateRenderer now gets response/request from the current WebContext
*  MgnlContext.getWebContext can now get a specific exception message


> Introduce MgnlContext.getWebContext()
> -------------------------------------
>
>                 Key: MAGNOLIA-2535
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2535
>             Project: Magnolia
>          Issue Type: New Feature
>          Components: core
>            Reporter: Gregory Joseph
>            Assignee: Gregory Joseph
>             Fix For: 4.0
>
>
> There is a lot of code that does
> {code}
> final Context mgnlCtx = MgnlContext.getInstance();
> if (mgnlCtx instanceof WebContext)
> {code}
> A new {{getWebContextOrNull()}} would help - maybe along a 
> {{getWebContext()}} method, which would throw an IllegalStateException, much 
> like {{getInstance()}} does.

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

        

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to