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

[ELP] Erreur lors de l'affichage de la date de début des cours

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.1
    • None
    • None
    • None

      du type :

      <validation>
         <invalidText i18n="true">CONTENT_NEWS_DATE_INVALID_FORMAT</invalidText>
      </validation>
      

      Actuellement on peut saisir n'importe quoi et ça provoque l'erreur suivante :

      Unparseable date: "metadata/startDate"Failed to process pipeline<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 type="i18n"><map:transform><map:generate><map:mount>java.text.ParseException: Unparseable date: "metadata/startDate" at java.text.DateFormat.parse(DateFormat.java:337) at org.apache.cocoon.transformation.I18nTransformer.formatDate_Time(I18nTransformer.java:1954) at org.apache.cocoon.transformation.I18nTransformer.endDate_TimeElement(I18nTransformer.java:1830) at org.apache.cocoon.transformation.I18nTransformer.endI18NElement(I18nTransformer.java:1490) at org.apache.cocoon.transformation.I18nTransformer.endElement(I18nTransformer.java:1181) at org.ametys.cms.transformation.EnhancementHandler.endElement(EnhancementHandler.java:125) at org.ametys.plugins.glossary.transformation.DefinitionEnhancementHandler.endElement(DefinitionEnhancementHandler.java:175) at org.ametys.cms.transformation.EnhancementTransformer.endElement(EnhancementTransformer.java:89) at org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:263) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1401) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400) at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:162) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400) at org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:394) at org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:248) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400) at org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:394)
      

        1. Capture.PNG
          4 kB
          Laurence Aumeunier

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

              Created:
              Updated:
              Resolved: