Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-122

Edition : images du disque

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • 1.0
    • None
    • Edition
    • None

      Si on ajoute une image du disque à un champ texte riche, on ne peut plus ouvrir la page de ce contenu.
      On a l'erreur :

      Failed to process pipeline[TransformerException]<map:serialize type="xhtml"><map:transform type="i18n"><map:transform type="docbook-
      enhancement"><map:transform><map:transform type="i18n"><map:serialize type="xhtml"><map:transform>
      <map:generate>java.lang.IllegalStateException: org.ametys.plugins.repository.metadata.UnknownMetadataException: 
      javax.jcr.PathNotFoundException: Hydrangeas.jpgjavax.jcr.PathNotFoundException: Hydrangeas.jpg at 
      org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2683) at 
      org.ametys.plugins.repository.metadata.jcr.JCRFolder.getFile(JCRFolder.java:161) at 
      org.ametys.plugins.repository.metadata.jcr.JCRFolder.getFile(JCRFolder.java:40) at 
      org.ametys.web.editor.LocalURIResolver.resolveImage(LocalURIResolver.java:180) at 
      org.ametys.cms.transformation.xslt.ResolveURIComponent.resolveImage(ResolveURIComponent.java:105) at 
      org.ametys.cms.transformation.xslt.ResolveURIComponent.resolveImage(ResolveURIComponent.java:88) at 
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at 
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at 
      java.lang.reflect.Method.invoke(Method.java:597) at 
      org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:275) at 
      org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:440) at org.apache.xalan.extensions.ExtensionsTable.extFunction(ExtensionsTable.java:222) at 
      org.apache.xalan.transformer.TransformerImpl.extFunction(TransformerImpl.java:473) at 
      org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:208) at org.apache.xpath.XPath.execute(XPath.java:337) 
      ...
      
      Caused by: java.lang.IllegalStateException: org.ametys.plugins.repository.metadata.UnknownMetadataException: 
      javax.jcr.PathNotFoundException: Hydrangeas.jpg at org.ametys.web.editor.LocalURIResolver.resolveImage(LocalURIResolver.java:201) at 
      org.ametys.cms.transformation.xslt.ResolveURIComponent.resolveImage(ResolveURIComponent.java:105) at 
      org.ametys.cms.transformation.xslt.ResolveURIComponent.resolveImage(ResolveURIComponent.java:88) at 
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at 
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at 
      java.lang.reflect.Method.invoke(Method.java:597) at 
      org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:275) ... 
      100 more 
      Caused by: org.ametys.plugins.repository.metadata.UnknownMetadataException: javax.jcr.PathNotFoundException: Hydrangeas.jpg at 
      org.ametys.plugins.repository.metadata.jcr.JCRFolder.getFile(JCRFolder.java:166) at 
      org.ametys.plugins.repository.metadata.jcr.JCRFolder.getFile(JCRFolder.java:40) at 
      org.ametys.web.editor.LocalURIResolver.resolveImage(LocalURIResolver.java:180) 
      ... 107 more 
      Caused by: javax.jcr.PathNotFoundException: Hydrangeas.jpg at 
      org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2683) at 
      org.ametys.plugins.repository.metadata.jcr.JCRFolder.getFile(JCRFolder.java:161) 
      ... 109 more 
      

            Unassigned Unassigned
            delphine Delphine Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: