[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20102#action_20102
]
Hudson CI server commented on MAGNOLIA-2535:
--------------------------------------------
Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif!
[magnolia_main-trunk
#407|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/407/]
Adding MgnlContext.getWebContext() and related methods
> 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]>
----------------------------------------------------------------