You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Cédric Damioli (JIRA)" <ji...@apache.org> on 2016/03/03 11:58:18 UTC
[jira] [Closed] (COCOON-2349) XMLResourceBundles are not available
outside a Request
[ https://issues.apache.org/jira/browse/COCOON-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cédric Damioli closed COCOON-2349.
----------------------------------
Resolution: Fixed
Committed in revision 1733441
I've kept the legacy behaviour and added a new one when a ServiceManager is available, so that the i18n stuff could also be used outside a request, eg. at init time.
> XMLResourceBundles are not available outside a Request
> ------------------------------------------------------
>
> Key: COCOON-2349
> URL: https://issues.apache.org/jira/browse/COCOON-2349
> Project: Cocoon
> Issue Type: Improvement
> Components: * Cocoon Core
> Affects Versions: 2.1.12
> Reporter: Cédric Damioli
> Fix For: 2.1.13
>
>
> XMLResourceBundle calls SourceUtil.toSAX, which in turn uses CocoonComponentManager.getSitemapComponentManager() which is null outside a request.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)