How to reproduce
- Edit a content with repeater entries with rich text (FAQ content for example)
- Add 2 entries of repeater
- Insert an image in a rich text of a repeater entry
- Save
- Redit the content
- Move the entry which contains the image
I cannot save the content with the following error
Impossible d'enregistrer le contenu car un champ contient des erreurs.
questions.1.answer
Impossible de transformer le texte riche : Exception during processing of cocoon://_plugins/cms/convert/html2docbook.
In logs
Caused by: org.ametys.plugins.repository.metadata.UnknownMetadataException: javax.jcr.PathNotFoundException: smiley_content.jpg at org.ametys.plugins.repository.metadata.jcr.JCRFolder.getFile(JCRFolder.java:184) at org.ametys.plugins.repository.metadata.jcr.JCRFolder.getFile(JCRFolder.java:1) at org.ametys.cms.transformation.htmledition.UploadedDataHTMLEditionHandler._processLocal(UploadedDataHTMLEditionHandler.java:469) at org.ametys.cms.transformation.htmledition.UploadedDataHTMLEditionHandler.startElement(UploadedDataHTMLEditionHandler.java:135) at org.ametys.cms.transformation.htmledition.AbstractHTMLEditionHandler.startElement(AbstractHTMLEditionHandler.java:93) at org.ametys.web.editor.WebHTMLEditionHandler.startElement(WebHTMLEditionHandler.java:113) at org.ametys.cms.transformation.htmledition.HTMLEditorHandlers2DocbookTransformer.startElement(HTMLEditorHandlers2DocbookTransformer.java:106) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(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) ... 130 more Caused by: javax.jcr.PathNotFoundException: smiley_content.jpg at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2167) at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2161) at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91) at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2161) at org.ametys.plugins.repository.metadata.jcr.JCRFolder.getFile(JCRFolder.java:179) ... 150 more
- Duplique
-
CMS-10648 Invert two repeater entries containing rich_text with image
- Closed