Hi all,
i have a problem with Magnolia CE 4.4.2: enabling DefaultI18nContentSupport,
when i create a page of type "Image gallery" (but i think this problem is
related with creation of "singleton" paragraph"), i have this exception :
java.lang.IllegalStateException: Can only get the aggregation state within a
WebContext.
info.magnolia.context.MgnlContext.getAggregationState(MgnlContext.java:221)
info.magnolia.cms.i18n.AbstractI18nContentSupport.getLocale(AbstractI18nContentSupport.java:86)
info.magnolia.cms.i18n.AbstractI18nContentSupport.getNodeData(AbstractI18nContentSupport.java:222)
Debugging a little i have found that MgnlContext is not of type "WebContext"
beacause, at singleton paragraph creation, we are inside a privileged operation
and so there is exception.
Is it a bug or i'm doing something bad ?
Thanks in advance. Max
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=8aa3d27c-e228-45dc-8f97-a644688adc69
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------