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

Impossible d'importer une formation lorsque le CDM-fr comprend ce caractère &#18

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.7.17, 4.8.4, 4.9.0
    • 2.6.6
    • Synchro
    • None

      J'ai un dispositif de saisie sur Ametys qui pousse une formation sur un portail Ametys.
      Les 2 sont en 3.8.

      Voici l'erreur côté portail :

      Caused by: org.ametys.plugins.repository.AmetysRepositoryException: A problem occured while parsing the input stream.
      	at org.ametys.plugins.odfsync.cdmfr.CoAccreditedRemoteCDMFRImportManager.importPrograms(CoAccreditedRemoteCDMFRImportManager.java:256)
      	at org.ametys.plugins.odfsync.cdmfr.RemoteCDMFRImportManager.importPrograms(RemoteCDMFRImportManager.java:83)
      	at org.ametys.plugins.odfsync.cdmfr.UploadCDMAction.act(UploadCDMAction.java:70)
      	at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
      	... 34 more
      Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 45698; Character reference "&#18" is an invalid XML character.
      	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      	at org.apache.excalibur.xml.impl.JaxpParser.parseDocument(JaxpParser.java:395)
      	at org.ametys.plugins.odfsync.cdmfr.CoAccreditedRemoteCDMFRImportManager.importPrograms(CoAccreditedRemoteCDMFRImportManager.java:164)
      	... 47 more
      
      

      Si j'exporte le CDM-fr de ma formation côté dispositif de saisie j'ai :

      <searchword>Gestion &#18;a base de politiques</searchword><searchword>Gestion Intégrée</searchword><searchword>
      

            Unassigned Unassigned
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: