-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
4.8.0 M11
How to reproduce:
Integrator tab, graphic skin editor, edit a file, make a modification, save, go to production, then reopen the modified file
Sometimes it happens that the file is not displayed in full and that half of the code is missing, which generates an error.
In this case, going back to the production version does not work, you have to recover all of the code and paste it into the file in the cms, then save and go to production.
error generated:
Message : Unable to get transformer handler for resource://org/ametys/workspaces/web/stylesheets/page.xsl at [SAXParseException] - skin://templates/index/stylesheets/template.xsl?path=ZmlsZTovdmFyL0FtZXR5c19DTVMvYXBwbGljYXRpb24vMS4xLjZHL2Ntcy9za2lucy9tb250cGVsbGllci1pbnRyYW5ldC90ZW1wbGF0ZXMvaW5kZXgvc3R5bGVzaGVldHMvdGVtcGxhdGUueHNs:136:1157 at <map:serialize type="xhtml"> - resource://org/ametys/workspaces/web/sitemap.xmap:907:34 at <map:transform type="minimizer-front"> - resource://org/ametys/workspaces/web/sitemap.xmap:906:56 at <map:transform type="i18n"> - resource://org/ametys/workspaces/web/sitemap.xmap:903:32 at <map:transform> - resource://org/ametys/workspaces/web/sitemap.xmap:902:48 at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:189:109 Emplacement : org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46) Pile d'appels : org.apache.cocoon.ProcessingException: Unable to get transformer handler for resource://org/ametys/workspaces/web/stylesheets/page.xsl at [SAXParseException] - skin://templates/index/stylesheets/template.xsl?path=ZmlsZTovdmFyL0FtZXR5c19DTVMvYXBwbGljYXRpb24vMS4xLjZHL2Ntcy9za2lucy9tb250cGVsbGllci1pbnRyYW5ldC90ZW1wbGF0ZXMvaW5kZXgvc3R5bGVzaGVldHMvdGVtcGxhdGUueHNs:136:1157 at <map:serialize type="xhtml"> - resource://org/ametys/workspaces/web/sitemap.xmap:907:34 at <map:transform type="minimizer-front"> - resource://org/ametys/workspaces/web/sitemap.xmap:906:56 at <map:transform type="i18n"> - resource://org/ametys/workspaces/web/sitemap.xmap:903:32 at <map:transform> - resource://org/ametys/workspaces/web/sitemap.xmap:902:48 at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:189:109 at org.apache.cocoon.transformation.TraxTransformer#setup:339 at org.ametys.runtime.cocoon.TraxTransformer#setup:50 at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#setupPipeline:400 at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#setupPipeline:738 at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#preparePipeline:503 at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:455 at nector.CoyoteAdapter#service:360 at org.apache.coyote.http11.Http11Processor#service:399 at org.apache.coyote.AbstractProcessorLight#process:65 at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:891 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1784 at org.apache.tomcat.util.net.SocketProcessorBase#run:49 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 Caused by: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception when creating Transformer from resource://org/ametys/workspaces/web/stylesheets/page.xsl at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor#_createTemplates:453 at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor#_getTemplates:262 at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor#getTransformerHandlerAndValidity:178 at org.apache.cocoon.transformation.TraxTransformer#setup:332 ... 50 more Caused by: org.xml.sax.SAXParseException; systemId: skin://templates/index/stylesheets/template.xsl?path=ZmlsZTovdmFyL0FtZXR5c19DTVMvYXBwbGljYXRpb24vMS4xLjZHL2Ntcy9za2lucy9tb250cG