Uploaded image for project: 'Blog'
  1. Blog
  2. BLOG-32

Home page failed when creating an new post without editing it

XMLWordPrintable

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

      How to reproduce

      • Create a new post but do not edit it
      • Open or refresh the Home page

      Behavior

      • Unable to display the list of blog because the date of new post is empty
      Message:		Unable to display zone item
      Location:	org.ametys.runtime.util.SLF4JLogger.error(SLF4JLogger.java:64)
      Thrown:
      org.apache.cocoon.ProcessingException: Failed to process pipeline
      	at <map:serialize type="xml"> - file:/D:/Dev/Ametys/templates/CMSWEB/trunk/webapp/cms/plugins/blog/sitemap.xmap:101:44
      	at <map:transform type="i18n"> - file:/D:/Dev/Ametys/templates/CMSWEB/trunk/webapp/cms/plugins/blog/sitemap.xmap:97:44
      	at <map:transform type="xslt"> - file:/D:/Dev/Ametys/templates/CMSWEB/trunk/webapp/cms/plugins/blog/sitemap.xmap:96:67
      	at <map:generate type="posts"> - file:/D:/Dev/Ametys/templates/CMSWEB/trunk/webapp/cms/plugins/blog/sitemap.xmap:89:44
      	at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145)
      
      Caused by: java.text.ParseException: Unparseable date: ""
      	at org.apache.cocoon.transformation.I18nTransformer.formatDate_Time(I18nTransformer.java:1956)
      	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:116)
      
      
      

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: