How to reproduce :
1- On demo front, display page "demo/fr/fonctionnalites-avancees/galeries-multimedia/playlist-youtube.html"
2 - On logs, following error is present :
Date : 26/01 16:09:28.622 Thread : Thread[http-nio-8080-exec-2,5,main] Niveau : ERROR Catégorie : org.ametys.plugins.userdirectory.transformation.xslt.UserXSLTHelper URI de la requête : /cms/generate/www/fr/fonctionnalites-avancees/galeries-multimedia/playlist-youtube.html Message : An error occurred, impossible to get attribute at path 'layout' Emplacement : org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46) Pile d'appels : org.ametys.runtime.model.exception.UndefinedItemPathException: Unable to generate SAX events for the data at path 'layout'. There is no such item defined by the model. at org.ametys.plugins.repository.data.holder.impl.DefaultModelAwareDataHolder#_checkDefinition:813 at org.ametys.plugins.repository.data.holder.impl.DefaultModelAwareDataHolder#dataToSAX:762 at org.ametys.cms.transformation.xslt.AmetysXSLTHelper#_getNodeValues:328 at org.ametys.web.transformation.xslt.AmetysXSLTHelper#contentViewParameter:2359 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl#invoke0 (Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl#invoke:62 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl#invoke:43 at java.base/java.lang.reflect.Method#invoke:566 at org.apache.xalan.extensions.ExtensionHandlerJavaClass#callFunction:367 at org.apache.xalan.extensions.ExtensionHandlerJavaClass#callFunction:440 at org.apache.xalan.extensions.ExtensionsTable#extFunction:222 at org.apache.xalan.transformer.TransformerImpl#extFunction:475 at org.apache.xpath.functions.FuncExtFunction#execute:208 at org.apache.xpath.XPath#execute:337 at org.apache.xalan.templates.ElemVariable#getValue:280 at org.apache.xalan.templates.XUnresolvedVariable#execute:126 at org.apache.xpath.VariableStack#getGlobalVariable:479 at org.apache.xpath.operations.Variable#execute:214 at org.apache.xpath.operations.Variable#execute:188 at org.apache.xpath.XPath#execute:337 at org.apache.xalan.templates.AVTPartXPath#evaluate:135 at org.apache.xalan.templates.AVT#evaluate:499 at org.apache.xalan.templates.ElemLiteralResult#execute:1353 at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402 at org.apache.xalan.templates.ElemTemplate#execute:394 at org.apache.xalan.templates.ElemCallTemplate#execute:248 at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402 at org.apache.xalan.templates.ElemLiteralResult#execute:1376 at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402 at org.apache.xalan.templates.ElemTemplate#execute:394 at org.apache.xalan.templates.ElemCallTemplate#execute:248 at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402 at org.apache.xalan.templates.ElemLiteralResult#execute:1376 at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402 at org.apache.xalan.templates.ElemLiteralResult#execute:1376 at org.apache.xalan.templates.ElemApplyTemplates#transformSelectedNodes:395 at org.apache.xalan.templates.ElemApplyTemplates#execute:178 at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402 at org.apache.xalan.transformer.TransformerImpl#applyTemplateToNode:2272 at org.apache.xalan.transformer.TransformerImpl#transformNode:1358 at org.apache.xalan.transformer.TransformerImpl#run:3449 at org.apache.xalan.transformer.TransformerHandlerImpl#endDocument:408 at org.apache.cocoon.xml.AbstractXMLPipe#endDocument:56 at org.apache.cocoon.transformation.TraxTransformer#endDocument:586 at org.apache.cocoon.xml.AbstractXMLPipe#endDocument:56 at org.apache.cocoon.sitemap.ContentAggregator#generate:133 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:782 at org.apache.cocoon.components.source.impl.SitemapSource#toSAX:414 at org.apache.cocoon.components.source.SourceUtil#toSAX:101 at org.apache.cocoon.components.source.SourceUtil#toSAX:181 at org.apache.cocoon.components.source.SourceUtil#toSAX:140 at org.ametys.web.repository.PageGenerator#_saxSource:722 at org.ametys.web.repository.PageGenerator#_saxZoneItem:519 at org.ametys.web.repository.PageGenerator#_saxZoneItems:389 at org.ametys.web.repository.PageGenerator#_saxZone:316 at org.ametys.web.repository.PageGenerator#generate:237 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:782 at org.apache.cocoon.components.source.impl.SitemapSource#toSAX:414 at org.apache.cocoon.components.source.SourceUtil#toSAX:101 at org.apache.cocoon.components.source.SourceUtil#parse:321 at org.apache.cocoon.sitemap.ContentAggregator#generate:125 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.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:580 at javax.servlet.http.HttpServlet#service:733 at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:227 at org.apache.catalina.core.ApplicationFilterChain#doFilter:162 at org.apache.tomcat.websocket.server.WsFilter#doFilter:53 at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:189 at org.apache.catalina.core.ApplicationFilterChain#doFilter:162 at org.apache.catalina.core.StandardWrapperValve#invoke:202 at org.apache.catalina.core.StandardContextValve#invoke:97 at org.apache.catalina.authenticator.AuthenticatorBase#invoke:542 at org.apache.catalina.core.StandardHostValve#invoke:143 at org.apache.catalina.valves.ErrorReportValve#invoke:92 at org.apache.catalina.valves.AbstractAccessLogValve#invoke:687 at org.apache.catalina.core.StandardEngineValve#invoke:78 at org.apache.catalina.connector.CoyoteAdapter#service:346 at org.apache.coyote.http11.Http11Processor#service:374 at org.apache.coyote.AbstractProcessorLight#process:65 at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:887 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1684 at org.apache.tomcat.util.net.SocketProcessorBase#run:49 at java.base/java.util.concurrent.ThreadPoolExecutor#runWorker:1128 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker#run:628 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:61 at java.base/java.lang.Thread#run:834
This error is not present on 4.6.
- Référence
-
CMS-11363 Repare demo data
- Closed