[ 
https://issues.apache.org/jira/browse/COCOON-2227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cédric Damioli updated COCOON-2227:
-----------------------------------
    Fix Version/s: 2.3.1
                       (was: 2.3.0)

> Creation of child settings object is broken
> -------------------------------------------
>
>                 Key: COCOON-2227
>                 URL: https://issues.apache.org/jira/browse/COCOON-2227
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core
>    Affects Versions: 2.3.0
>            Reporter: Grzegorz Kossakowski
>            Priority: Major
>             Fix For: 2.3.1
>
>
> It seems that there is a problem with creation of child settings object. To 
> reproduce this problem just go to:
> core/cocoon-webapp
> and then run Cocoon using following command:
> mvn jetty:run -Dorg.apache.cocoon.formencoding=UTF-8
> Then access:
> http://localhost:8888/
> and you will get following exception:
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.apache.cocoon.configuration.Settings': Invocation of init 
> method failed; nested exception is java.lang.IllegalStateException: This 
> value can only be changed for the root settings object.
> [...]
> Caused by: java.lang.IllegalStateException: This value can only be changed 
> for the root settings object.
>       at 
> org.apache.cocoon.configuration.MutableSettings.checkSubSetting(MutableSettings.java:423)
>       at 
> org.apache.cocoon.configuration.MutableSettings.setFormEncoding(MutableSettings.java:364)
>       at 
> org.apache.cocoon.configuration.MutableSettings.configure(MutableSettings.java:151)
>       at 
> org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPostProcessor.createSettings(AbstractSettingsBeanFactoryPostProcessor.java:258)
>       at 
> org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPostProcessor.init(AbstractSettingsBeanFactoryPostProcessor.java:130)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to