Unable to use JSONUtils in a Validator when we are in safe-mode and the configuration is invalid
org.apache.avalon.framework.service.ServiceException: Could not find component (key [org.ametys.core.util.JSONUtils]) (Key='org.ametys.core.util.JSONUtils') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:81) at org.ametys.runtime.parameter.DefaultValidator.saxJsonConfig(DefaultValidator.java:167) at org.ametys.runtime.parameter.DefaultValidator.saxConfiguration(DefaultValidator.java:193) at org.ametys.core.datasource.SQLDatabaseTypeValidator.saxConfiguration(SQLDatabaseTypeValidator.java:148) at org.ametys.runtime.parameter.ParameterHelper.toSAXValidator(ParameterHelper.java:340) at org.ametys.runtime.parameter.ParameterHelper.toSAXParameterInternal(ParameterHelper.java:282) at org.ametys.runtime.plugins.admin.configuration.ConfigGenerator._saxConfiguration(ConfigGenerator.java:161) at org.ametys.runtime.plugins.admin.configuration.ConfigGenerator.generate(ConfigGenerator.java:64) ... Caused by: org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.ametys.core.util.JSONUtils]) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:265) at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:354) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:82) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69)
- Bloque
-
RUNTIME-2015 The configuration of a validator as JSON object should be pass to the field configuration
- Open
- Est composé de
-
RUNTIME-2110 Configuration tool does not allow enumeration in mode multiple
- Open