[ 
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)

Reply via email to