-
Bug
-
Resolution: Fixed
-
Major
-
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)
- is duplicated by
-
ODF-657 Course: start-date
- Closed