Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1691

"Scheduled for Future Publication" lists are not working when not empty

    XMLWordPrintable

Details

    Description

      After adding the content for future publication, it isn't shown in the dashboard in the "All Drafts Scheduled for Future Publication" and "My Drafts Scheduled for Future Publication" blocks. They are showing up empty and the following error is thrown in the browser console:

      Uncaught TypeError: A date or timestamp must be provided to {{formatTime}}
          at k (d0ac14a_handlebars-intl.min_3.js:1)
          at Object.f (d0ac14a_handlebars-intl.min_3.js:1)
          at Object.eval (eval at createFunctionContext (_ezcombo?base-pluginhost/base-pluginhost-min.js&/bundles/ezplatformui/js/views/services/ez-viewserv…:339), <anonymous>:11:96)
          at s (_ezcombo?base-pluginhost/base-pluginhost-min.js&/bundles/ezplatformui/js/views/services/ez-viewserv…:321)
          at Object.<anonymous> (_ezcombo?base-pluginhost/base-pluginhost-min.js&/bundles/ezplatformui/js/views/services/ez-viewserv…:320)
          at Object.eval (eval at createFunctionContext (_ezcombo?base-pluginhost/base-pluginhost-min.js&/bundles/ezplatformui/js/views/services/ez-viewserv…:339), <anonymous>:4:25)
          at Object.s [as fn] (_ezcombo?base-pluginhost/base-pluginhost-min.js&/bundles/ezplatformui/js/views/services/ez-viewserv…:321)
          at Object.<anonymous> (_ezcombo?base-pluginhost/base-pluginhost-min.js&/bundles/ezplatformui/js/views/services/ez-viewserv…:320)
          at Object.eval (eval at createFunctionContext (_ezcombo?base-pluginhost/base-pluginhost-min.js&/bundles/ezplatformui/js/views/services/ez-viewserv…:339), <anonymous>:4:26)
          at Object.s [as inverse] (_ezcombo?base-pluginhost/base-pluginhost-min.js&/bundles/ezplatformui/js/views/services/ez-viewserv…:321)
      

      eZ Platform EE version 1.7 seems to be unaffected by this issue.

      Steps to reproduce:

      1. Create new eZ Platform EE project.
      2. Schedule content for the future publication:
        • In PlatformUI, go to Content/Content Structure.
        • Click "Create" on the right and select "Article".
        • Write anything in the "Title" and "Intro" fields.
        • Click "Publish later" on the right, select something in the future and click "Send".
      3. Go back to the Dashboard.
      4. Confirm that there is nothing in the "All Drafts Scheduled for Future Publication" and "My Drafts Scheduled for Future Publication" blocks and that the console error is thrown.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jacek.foremski-obsolete@ez.no Jacek Foremski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: