-
Bug
-
Resolution: Fixed
-
Critical
-
1.4.0
-
None
-
None
-
4.8.0 M4
how to reproduce
- go to the demo.
- Look at the screenshot of the settings in the carousel.
- Especially in the criteria remove the display of orphans.
- Choose a theme, an error is displayed.
Pile d'appels : org.apache.cocoon.ProcessingException: Some errors occured during the execution of search components: [with org.ametys.web.frontoffice.search.requesttime.impl.CriterionTreeSearchComponent@10c1a546]. See the previous error logs to see details. at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap-front.xmap:489:47 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap-front.xmap:485:45 at <map:transform type="xslt"> - resource://org/ametys/web/sitemap-front.xmap:480:118 at <map:transform type="xslt"> - resource://org/ametys/web/sitemap-front.xmap:471:68 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap-front.xmap:468:57 at <map:generate type="service-search"> - resource://org/ametys/web/sitemap-front.xmap:461:54 at <map:mount> - resource://org/ametys/web/sitemap.xmap:28:107 at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:154:82 at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:189:109 at org.ametys.web.frontoffice.search.requesttime.SearchServiceGenerator#_handleErrors:396 at org.ametys.web.frontoffice.search.requesttime.SearchServiceGenerator#generate:186 at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581 at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301 at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:483 at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode#invoke:144 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode#invoke:139 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#handleCocoonRedirect:300 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#access$000:49 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor$TreeProcessorRedirector#cocoonRedirect:348 at org.apache.cocoon.environment.ForwardRedirector#redirect:60 at org.apache.cocoon.components.treeprocessor.sitemap.RedirectToURINode#invoke:70 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.Cocoon#process:699 at org.ametys.runtime.servlet.RuntimeServlet#service:717 at javax.servlet.http.HttpServlet#service:623 at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:209 at org.apache.catalina.core.ApplicationFilterChain#doFilter:153 at org.apache.tomcat.websocket.server.WsFilter#doFilter:51 at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:178 at org.apache.catalina.core.ApplicationFilterChain#doFilter:153 at org.apache.catalina.core.StandardWrapperValve#invoke:167 at org.apache.catalina.core.StandardContextValve#invoke:90 at org.apache.catalina.authenticator.AuthenticatorBase#invoke:481 at org.apache.catalina.core.StandardHostValve#invoke:130 at org.apache.catalina.valves.ErrorReportValve#invoke:93 at org.apache.catalina.valves.AbstractAccessLogValve#invoke:673 at org.apache.catalina.core.StandardEngineValve#invoke:74 at org.apache.catalina.connector.CoyoteAdapter#service:343 at org.apache.coyote.http11.Http11Processor#service:389 at org.apache.coyote.AbstractProcessorLight#process:63 at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:926 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1791 at org.apache.tomcat.util.net.SocketProcessorBase#run:52 at org.apache.tomcat.util.threads.ThreadPoolExecutor#runWorker:1191 at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker#run:659 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:61 at java.base/java.lang.Thread#run:833
If we remove the orphan criterion, no error
The issue is not caused by the "orphan" criteria but by the criteria order.
The filter does not work if the "tags" criteria is not the first one