It blocks some synchronization with text transformation.
I get this kind of error:
Caused by: java.lang.ClassCastException: class org.ametys.plugins.repository.metadata.jcr.JCRRichText cannot be cast to class org.ametys.cms.data.RichText (org.ametys.plugins.repository.metadata.jcr.JCRRichText and org.ametys.cms.data.RichText are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @25a6944c) at org.ametys.cms.transformation.htmledition.UploadedDataHTMLEditionHandler.startDocument(UploadedDataHTMLEditionHandler.java:106) at org.ametys.cms.transformation.htmledition.AbstractHTMLEditionHandler.startDocument(AbstractHTMLEditionHandler.java:82) at org.ametys.cms.transformation.htmledition.HTMLEditorHandlers2DocbookTransformer.startDocument(HTMLEditorHandlers2DocbookTransformer.java:95) at org.apache.xerces.parsers.AbstractSAXParser.startDocument(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315) at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:334) at org.ametys.cms.transformation.XhtmlGenerator.generate(XhtmlGenerator.java:60) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581) ... 133 more
Concerned class:
- SemanticAnnotationsEditionHandler
- UploadedDataHTMLEditionHandler