-
Improvement
-
Resolution: Fixed
-
Major
-
4.2.0
-
None
-
None
-
4.2 M10
We already can write
<column metadata-ref="*"/> <column system-ref="*"/>
But we want to be able to write
<column metadata-ref="contentMeta.*"/> <column metadata-ref="compositeMeta.*"/>
SolrSearchTool must be impacted too (completion + server side)
[CMS-9513] [SearchModel] Be able to select all columns
2. OK, I open a new ticket for this.
6. My mystake for person(s), sorry!
Now if I use <column metadata-ref="pilotage.*"/> or <column metadata-ref="orgUnit.*"/> in the program search model, I get this error :
Message: Caught an exception loading components. Location: org.ametys.runtime.plugin.PluginsManager.init(PluginsManager.java:457) Thrown: java.lang.Exception: Caught an exception trying to initialize the component org.ametys.core.schedule.SchedulableExtensionPoint at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:212) at org.ametys.runtime.plugin.PluginsManager.init(PluginsManager.java:453) at org.ametys.runtime.cocoon.TreeProcessor.compose(TreeProcessor.java:49) at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:174) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:266) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524) at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:583) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:345) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245) at org.ametys.runtime.servlet.RuntimeServlet._createCocoon(RuntimeServlet.java:354) at org.ametys.runtime.servlet.RuntimeServlet._initAmetys(RuntimeServlet.java:288) at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:211) at javax.servlet.GenericServlet.init(GenericServlet.java:158) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1227) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1140) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1027) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5038) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.Exception: Caught an exception trying to initialize the component org.ametys.plugins.extraction.execution.ExecuteExtractionSchedulable at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:212) at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint.initializeExtensions(AbstractThreadSafeComponentExtensionPoint.java:96) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:219) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:1) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:206) ... 26 more Caused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.plugins.extraction.execution.ExtractionExecutor (key [org.ametys.plugins.extraction.execution.ExtractionExecutor]) (Key='org.ametys.plugins.extraction.execution.ExtractionExecutor') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:81) at org.ametys.plugins.extraction.execution.ExecuteExtractionSchedulable.service(ExecuteExtractionSchedulable.java:81) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:378) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:206) ... 30 more Caused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.plugins.extraction.execution.ExtractionExecutor (key [org.ametys.plugins.extraction.execution.ExtractionExecutor]) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:142) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) ... 35 more Caused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.plugins.extraction.execution.PathResolver (key [org.ametys.plugins.extraction.execution.PathResolver]) (Key='org.ametys.plugins.extraction.execution.PathResolver') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:81) at org.ametys.plugins.extraction.execution.ExtractionExecutor.service(ExtractionExecutor.java:93) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:1) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) ... 37 more Caused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.plugins.extraction.execution.PathResolver (key [org.ametys.plugins.extraction.execution.PathResolver]) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:142) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) ... 43 more Caused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.plugins.extraction.edition.EditExtractionNodeManager (key [org.ametys.plugins.extraction.edition.EditExtractionNodeManager]) (Key='org.ametys.plugins.extraction.edition.EditExtractionNodeManager') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:81) at org.ametys.plugins.extraction.execution.PathResolver.service(PathResolver.java:75) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:1) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) ... 45 more Caused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.plugins.extraction.edition.EditExtractionNodeManager (key [org.ametys.plugins.extraction.edition.EditExtractionNodeManager]) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:142) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) ... 51 more Caused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.cms.search.GetQueryFromJSONHelper (key [org.ametys.cms.search.GetQueryFromJSONHelper]) (Key='org.ametys.cms.search.GetQueryFromJSONHelper') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:81) at org.ametys.plugins.extraction.edition.EditExtractionNodeManager.service(EditExtractionNodeManager.java:75) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:1) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) ... 53 more Caused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.cms.search.GetQueryFromJSONHelper (key [org.ametys.cms.search.GetQueryFromJSONHelper]) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:142) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) ... 59 more Caused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.cms.search.ui.model.SearchUIModelExtensionPoint (key [org.ametys.cms.search.ui.model.SearchUIModelExtensionPoint]) (Key='org.ametys.cms.search.ui.model.SearchUIModelExtensionPoint') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:81) at org.ametys.cms.search.GetQueryFromJSONHelper.service(GetQueryFromJSONHelper.java:77) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:357) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:1) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) ... 61 more Caused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.cms.search.ui.model.SearchUIModelExtensionPoint (key [org.ametys.cms.search.ui.model.SearchUIModelExtensionPoint]) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:142) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) ... 67 more Caused by: java.lang.Exception: Caught an exception trying to initialize the component search-ui.program at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:212) at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint.initializeExtensions(AbstractThreadSafeComponentExtensionPoint.java:96) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:219) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:1) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138) ... 69 more Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Unable to create local component managers. @null at org.ametys.cms.search.ui.model.StaticSearchUIModel.configure(StaticSearchUIModel.java:201) at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:202) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:359) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:378) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:206) ... 73 more Caused by: java.lang.Exception: Caught an exception trying to initialize the component orgUnit.* at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:212) at org.ametys.cms.search.ui.model.StaticSearchUIModel.configure(StaticSearchUIModel.java:196) ... 77 more Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Unknown metadata 'orgUnit.*' in content type 'org.ametys.plugins.odf.Content.program' at org.ametys.cms.search.ui.model.impl.MetadataSearchUIColumn.configure(MetadataSearchUIColumn.java:53) at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:202) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:359) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:378) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:206) ... 78 more
2. The same error can occur with an M9, let's see it together (it seems it occurs when the user does not exist. For the language, I don't know, but it is a bug already present, another ticket has to be opened)
6.
a) Composites and repeaters are now handled
b) You got this error because you misspelt personsInCharge (personInCharge !)
c) I fixed this bug
Validation :
1.
2. Please see this screenshot taken with a M9 :
3.
4.
5.
6. I don't understand why it is impossible on composites or repeaters because we are able to display all the metadata of a multiple content values inside a repeater.
Also, the [content].* works in the Solr search tool but not in a search model. I get this error at launch :
java.lang.Exception: Caught an exception trying to initialize the component org.ametys.core.schedule.SchedulableExtensionPoint at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:220) at org.ametys.runtime.plugin.PluginsManager.init(PluginsManager.java:453) at org.ametys.runtime.cocoon.TreeProcessor.compose(TreeProcessor.java:49) at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:174) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:266) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524) at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:583) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:345) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245) at org.ametys.runtime.servlet.RuntimeServlet._createCocoon(RuntimeServlet.java:354) at org.ametys.runtime.servlet.RuntimeServlet._initAmetys(RuntimeServlet.java:288) at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:211) at javax.servlet.GenericServlet.init(GenericServlet.java:158) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1227) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1140) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1027) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5038) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.Exception: Caught an exception trying to initialize the component org.ametys.plugins.extraction.execution.ExecuteExtractionSchedulable at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:220) at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint.initializeExtensions(AbstractThreadSafeComponentExtensionPoint.java:96) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:219) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:1) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:211) ... 26 more Caused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.plugins.extraction.execution.ExtractionExecutor (key [org.ametys.plugins.extraction.execution.ExtractionExecutor]) (Key='org.ametys.plugins.extraction.execution.ExtractionExecutor') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:81) at org.ametys.plugins.extraction.execution.ExecuteExtractionSchedulable.service(ExecuteExtractionSchedulable.java:84) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:370) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:391) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:211) ... 30 more Caused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.plugins.extraction.execution.ExtractionExecutor (key [org.ametys.plugins.extraction.execution.ExtractionExecutor]) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:144) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) ... 35 more Caused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.plugins.extraction.execution.PathResolver (key [org.ametys.plugins.extraction.execution.PathResolver]) (Key='org.ametys.plugins.extraction.execution.PathResolver') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:81) at org.ametys.plugins.extraction.execution.ExtractionExecutor.service(ExtractionExecutor.java:93) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:370) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:1) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:140) ... 37 more Caused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.plugins.extraction.execution.PathResolver (key [org.ametys.plugins.extraction.execution.PathResolver]) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:144) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) ... 43 more Caused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.plugins.extraction.edition.EditExtractionNodeManager (key [org.ametys.plugins.extraction.edition.EditExtractionNodeManager]) (Key='org.ametys.plugins.extraction.edition.EditExtractionNodeManager') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:81) at org.ametys.plugins.extraction.execution.PathResolver.service(PathResolver.java:75) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:370) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:1) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:140) ... 45 more Caused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.plugins.extraction.edition.EditExtractionNodeManager (key [org.ametys.plugins.extraction.edition.EditExtractionNodeManager]) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:144) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) ... 51 more Caused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.cms.search.GetQueryFromJSONHelper (key [org.ametys.cms.search.GetQueryFromJSONHelper]) (Key='org.ametys.cms.search.GetQueryFromJSONHelper') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:81) at org.ametys.plugins.extraction.edition.EditExtractionNodeManager.service(EditExtractionNodeManager.java:75) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:370) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:1) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:140) ... 53 more Caused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.cms.search.GetQueryFromJSONHelper (key [org.ametys.cms.search.GetQueryFromJSONHelper]) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:144) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) ... 59 more Caused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component org.ametys.cms.search.ui.model.SearchUIModelExtensionPoint (key [org.ametys.cms.search.ui.model.SearchUIModelExtensionPoint]) (Key='org.ametys.cms.search.ui.model.SearchUIModelExtensionPoint') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:81) at org.ametys.cms.search.GetQueryFromJSONHelper.service(GetQueryFromJSONHelper.java:77) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:144) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:370) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:1) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:140) ... 61 more Caused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.cms.search.ui.model.SearchUIModelExtensionPoint (key [org.ametys.cms.search.ui.model.SearchUIModelExtensionPoint]) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:144) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:74) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) ... 67 more Caused by: java.lang.Exception: Caught an exception trying to initialize the component search-ui.program at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:220) at org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint.initializeExtensions(AbstractThreadSafeComponentExtensionPoint.java:96) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:219) at org.ametys.runtime.plugin.component.PluginsComponentManager$ExtensionPointFactory.newInstance(PluginsComponentManager.java:1) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:140) ... 69 more Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Unable to create local component managers. @null at org.ametys.cms.search.ui.model.StaticSearchUIModel.configure(StaticSearchUIModel.java:201) at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:202) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:372) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:391) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:211) ... 73 more Caused by: java.lang.Exception: Caught an exception trying to initialize the component personsInCharge.persons.* at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:220) at org.ametys.cms.search.ui.model.StaticSearchUIModel.configure(StaticSearchUIModel.java:196) ... 77 more Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Unknown metadata 'personsInCharge.persons.*' in content type 'org.ametys.plugins.odf.Content.program' at org.ametys.cms.search.ui.model.impl.MetadataSearchUIColumn.configure(MetadataSearchUIColumn.java:53) at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:202) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:372) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:391) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:211) ... 78 more
And when I try to get all orgunits colums on a program by orgUnit.*, I get another error because of a custom field (like orgUnitAncestor) :
java.lang.Exception: Caught an exception trying to initialize the component orgUnit/orgUnitAncestor at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:220) at org.ametys.cms.search.solr.CriteriaSearchUIModelWrapper.setResultColumns(CriteriaSearchUIModelWrapper.java:180) at org.ametys.cms.search.solr.GetSolrSearchModelAction.act(GetSolrSearchModelAction.java:124) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194) at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:111) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194) at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267) at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:333) at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:215) at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:68) at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208) at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558) at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558) at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558) at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558) at org.ametys.core.ui.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:149) at org.ametys.core.ui.dispatcher.DispatchGenerator.generate(DispatchGenerator.java:92) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:548) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Unknown metadata 'orgUnit/orgUnitAncestor' in content type 'org.ametys.plugins.odf.Content.program' at org.ametys.cms.search.ui.model.impl.MetadataSearchUIColumn.configure(MetadataSearchUIColumn.java:53) at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:202) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:372) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:391) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:211) ... 98 more
1. fixed
2. I think it was already the case before when doing 'orgunit.creator' for instance
3. Cannot reproduce
4. fixed
5. fixed
6. to be determined
1.
Without modifying anything in search models, I just open the content search and toggle the the Solr search tool.
All the standard fields are prefixed by a point "." now. But it works with or without the point.
Note : I have tested with other the search course tool and we can see it's only like this on standard fields.
2.
Standard values are not well displayed with [contentMetadata].*, language, user, and maybe other values haven't the right render.
3.
<column metadata-ref="contentMeta.*"/>
This code display "normal" metadata and "system" medata, I think we should have two separate operations like for "*"; with metadata-ref and system-ref.
4. Repeaters are not displayed in results (not the detail, only the repeater) - also tested by modifying the course search model.
5.
Impossible to search on all columns in the Solr search tool if I select an abstract content type.
6.
[repeater].*
It doesn't work.
If I do the same directly in the search model, the interface is broken...
Works better with / instead of .