Details
-
New Feature
-
Resolution: Fixed
-
Major
-
None
-
None
-
-
Empty show more show less
Description
There is a lot of code that does
final Context mgnlCtx = MgnlContext.getInstance(); if (mgnlCtx instanceof WebContext)
A new getWebContextOrNull() would help - maybe along a getWebContext() method, which would throw an IllegalStateException, much like getInstance() does.
Checklists
Acceptance criteria