Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11397

Error on sorting on a linked column

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.6.0
    • 4.6.0
    • Plugin : Search
    • None
    • 4.6 M6

      I have a result column defined on a linked attribute (no property there) in a search model.

      Definition of the column in the search model:

      <column metadata-ref="adressePrincipale/commune/faitPartieDepartement/faitPartieAcademie/faitPartieRegion/libelleEditable"/>

      But I get the following errors while sorting on this column:

      2022-10-12 11:59:41,507 ERROR [org.ametys.cms.search.cocoon.SearchAction] (http-nio-8280-exec-7;/cms/plugins/core-ui/servercomm/messages.xml) Cannot search for contents : The field 'adressePrincipale/commune/faitPartieDepartement/faitPartieAcademie/libelleEditable' can't be found in the selected search model.
      java.lang.IllegalArgumentException: The field 'adressePrincipale/commune/faitPartieDepartement/faitPartieAcademie/libelleEditable' can't be found in the selected search model.
      at org.ametys.cms.search.content.ContentSearcherFactory$SearchModelContentSearcher.getSort(ContentSearcherFactory.java:337)
      at org.ametys.cms.search.content.ContentSearcherFactory$SearchModelContentSearcher._searcher(ContentSearcherFactory.java:278)
      at org.ametys.cms.search.content.ContentSearcherFactory$SearchModelContentSearcher.searchWithFacets(ContentSearcherFactory.java:271)
      at org.ametys.cms.search.cocoon.SearchAction.doSearch(SearchAction.java:207)
      at org.ametys.cms.search.cocoon.SearchAction.act(SearchAction.java:137)
      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.ametys.core.ui.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:153)
      at org.ametys.core.ui.dispatcher.DispatchGenerator.generate(DispatchGenerator.java:95)
      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.Cocoon.process(Cocoon.java:699)
      at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:582)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.base/java.lang.Thread.run(Thread.java:833)
      2022-10-12 11:59:41,510 ERROR [org.ametys.plugins.core.ui] (http-nio-8280-exec-7;/cms/plugins/core-ui/servercomm/messages.xml) Can not dispatch request '2' : 'cms' 'search/list.json' '{model=search-ui.structures_enseignement, values=
      {metadata-uniqueID-eq=, property-contentTypes-eq=null, metadata-aggregator-libelles=, metadata-codeUAI-search=, metadata-region-eq=null, metadata-academie-eq=null, metadata-departement-eq=null, metadata-adressePrincipale/commune-eq=null, metadata-statutStructure-eq=null, metadata-statutStructureDetail-eq=null, metadata-niveauEnseignement-eq=[], metadata-reconnaissance/typeReconnaissance-eq=null, archived-archived=current, property-workflowStep-ne=7, property-contentTypeOrMixin-eq=null, property-contentLanguage-eq=null}, facetValues={region=[content://85599380-fe06-4a59-a235-6e33ee53944f], academie=[content://9986c229-3493-4960-957c-c6efb25fa1fb]}, contextualParameters={language=fr, fullValues=true}, page=1, start=0, limit=50, sort=[{"property":"adressePrincipale/commune/faitPartieDepartement/faitPartieAcademie/libelleEditable","direction":"ASC"},{"property":"workflowStep","direction":"ASC"}]}'
      org.apache.cocoon.util.location.LocatedException: Can not dispatch request '2' : 'cms' 'search/list.json' '{model=search-ui.structures_enseignement, values={metadata-uniqueID-eq=, property-contentTypes-eq=null, metadata-aggregator-libelles=, metadata-codeUAI-search=, metadata-region-eq=null, metadata-academie-eq=null, metadata-departement-eq=null, metadata-adressePrincipale/commune-eq=null, metadata-statutStructure-eq=null, metadata-statutStructureDetail-eq=null, metadata-niveauEnseignement-eq=[], metadata-reconnaissance/typeReconnaissance-eq=null, archived-archived=current, property-workflowStep-ne=7, property-contentTypeOrMixin-eq=null, property-contentLanguage-eq=null}
      , facetValues=
      {region=[content://85599380-fe06-4a59-a235-6e33ee53944f], academie=[content://9986c229-3493-4960-957c-c6efb25fa1fb]}
      , contextualParameters=
      {language=fr, fullValues=true}
      , page=1, start=0, limit=50, sort=[
      {"property":"adressePrincipale/commune/faitPartieDepartement/faitPartieAcademie/libelleEditable","direction":"ASC"}
      ,
      {"property":"workflowStep","direction":"ASC"}
      ]}'
      at org.ametys.core.ui.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:198)
      at org.ametys.core.ui.dispatcher.DispatchGenerator.generate(DispatchGenerator.java:95)
      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.Cocoon.process(Cocoon.java:699)
      at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:582)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: org.apache.excalibur.source.SourceException: Cannot get input stream for cocoon://_plugins/cms/search/list.json?model=search-ui.structures_enseignement&values=
      {metadata-uniqueID-eq%3D, property-contentTypes-eq%3Dnull, metadata-aggregator-libelles%3D, metadata-codeUAI-search%3D, metadata-region-eq%3Dnull, metadata-academie-eq%3Dnull, metadata-departement-eq%3Dnull, metadata-adressePrincipale/commune-eq%3Dnull, metadata-statutStructure-eq%3Dnull, metadata-statutStructureDetail-eq%3Dnull, metadata-niveauEnseignement-eq%3D[], metadata-reconnaissance/typeReconnaissance-eq%3Dnull, archived-archived%3Dcurrent, property-workflowStep-ne%3D7, property-contentTypeOrMixin-eq%3Dnull, property-contentLanguage-eq%3Dnull}&facetValues={region%3D[content://85599380-fe06-4a59-a235-6e33ee53944f], academie%3D[content://9986c229-3493-4960-957c-c6efb25fa1fb]}&contextualParameters={language%3Dfr, fullValues%3Dtrue}&page=1&start=0&limit=50&sort=[{"property":"adressePrincipale/commune/faitPartieDepartement/faitPartieAcademie/libelleEditable","direction":"ASC"},{"property":"workflowStep","direction":"ASC"}]&
      at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:253)
      at org.ametys.core.ui.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:157)
      ... 59 more
      Caused by: org.xml.sax.SAXException: Could not get sitemap source cocoon://_plugins/cms/search/list.json?model=search-ui.structures_enseignement&values={metadata-uniqueID-eq%3D, property-contentTypes-eq%3Dnull, metadata-aggregator-libelles%3D, metadata-codeUAI-search%3D, metadata-region-eq%3Dnull, metadata-academie-eq%3Dnull, metadata-departement-eq%3Dnull, metadata-adressePrincipale/commune-eq%3Dnull, metadata-statutStructure-eq%3Dnull, metadata-statutStructureDetail-eq%3Dnull, metadata-niveauEnseignement-eq%3D[], metadata-reconnaissance/typeReconnaissance-eq%3Dnull, archived-archived%3Dcurrent, property-workflowStep-ne%3D7, property-contentTypeOrMixin-eq%3Dnull, property-contentLanguage-eq%3Dnull}
      &facetValues=
      {region%3D[content://85599380-fe06-4a59-a235-6e33ee53944f], academie%3D[content://9986c229-3493-4960-957c-c6efb25fa1fb]}
      &contextualParameters=
      {language%3Dfr, fullValues%3Dtrue}
      &page=1&start=0&limit=50&sort=[
      {"property":"adressePrincipale/commune/faitPartieDepartement/faitPartieAcademie/libelleEditable","direction":"ASC"}
      ,
      {"property":"workflowStep","direction":"ASC"}
      ]&
      org.apache.cocoon.ProcessingException: Cannot search for contents : The field 'adressePrincipale/commune/faitPartieDepartement/faitPartieAcademie/libelleEditable' can't be found in the selected search model.
      at <map:mount> - file:/D:/Projets/AmetysV4/kernel/01_Runtime/master/main/kernel/sitemap.xmap:152:82
      at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:380)
      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.ametys.core.ui.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:153)
      ... 59 more
      Caused by: org.apache.cocoon.ProcessingException: Cannot search for contents : The field 'adressePrincipale/commune/faitPartieDepartement/faitPartieAcademie/libelleEditable' can't be found in the selected search model.
      at <map:mount> - file:/D:/Projets/AmetysV4/kernel/01_Runtime/master/main/kernel/sitemap.xmap:152:82
      at org.ametys.cms.search.cocoon.SearchAction.act(SearchAction.java:152)
      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)
      ... 66 more
      Caused by: java.lang.IllegalArgumentException: The field 'adressePrincipale/commune/faitPartieDepartement/faitPartieAcademie/libelleEditable' can't be found in the selected search model.
      at org.ametys.cms.search.content.ContentSearcherFactory$SearchModelContentSearcher.getSort(ContentSearcherFactory.java:337)
      at org.ametys.cms.search.content.ContentSearcherFactory$SearchModelContentSearcher._searcher(ContentSearcherFactory.java:278)
      at org.ametys.cms.search.content.ContentSearcherFactory$SearchModelContentSearcher.searchWithFacets(ContentSearcherFactory.java:271)
      at org.ametys.cms.search.cocoon.SearchAction.doSearch(SearchAction.java:207)
      at org.ametys.cms.search.cocoon.SearchAction.act(SearchAction.java:137)
      ... 87 more
      

            cbayle Caroline Bayle
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: