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

Error while loading Landing Page

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 1.10.0
    • Studio UI
    • None
    • Chrome version 59.0.3071.115 (Official Build) (64-bit)

    Description

      Sometimes when switching to View mode in Studio an error is thrown (see attachment: style_error).

      Error visible in console:

      VM41:27 TypeError: Cannot read property 'style' of null
          at n._getIframeBodyHeight (_ezcombo?/tpl/handlebars/timelinecontentlistpageview-ez-template.js&/bundles/ezstudioui/js/views/ti…:2946)
          at n._updateIframeHeight (_ezcombo?/tpl/handlebars/timelinecontentlistpageview-ez-template.js&/bundles/ezstudioui/js/views/ti…:2914)
          at n.<anonymous> (_ezcombo?/tpl/handlebars/timelinecontentlistpageview-ez-template.js&/bundles/ezstudioui/js/views/ti…:3514)
          at _ezcombo?oop/oop-min.js&event-custom-base/event-custom-base-min.js&event-custom-complex/event-custo…:8
          at Array.forEach (<anonymous>)
          at n._updateScheduleBlocksPreview (_ezcombo?/tpl/handlebars/timelinecontentlistpageview-ez-template.js&/bundles/ezstudioui/js/views/ti…:3504)
          at e.Subscriber._notify (_ezcombo?oop/oop-min.js&event-custom-base/event-custom-base-min.js&event-custom-complex/event-custo…:17)
          at e.Subscriber.notify (_ezcombo?oop/oop-min.js&event-custom-base/event-custom-base-min.js&event-custom-complex/event-custo…:17)
          at e.CustomEvent._notify (_ezcombo?oop/oop-min.js&event-custom-base/event-custom-base-min.js&event-custom-complex/event-custo…:16)
          at e.CustomEvent._procSubs (_ezcombo?oop/oop-min.js&event-custom-base/event-custom-base-min.js&event-custom-complex/event-custo…:16) undefined
      window.console.error	@	VM41:27
      

      I cannot find a consistent way to reproduce it, but it happened to me 2 or 3 times already (reproduction rate ca. 5%) - looks like there is a race condition somewhere in the code.

      Steps to reproduce:
      1. Navigate to Studio Part
      2. Create new Landing Page (empty or with blocks - it does not seem to matter)
      3. Publish Landing Page

      Expected:
      1. I am redirected to "View" mode

      Actual:
      1. I am redirected to "View" mode. Error is visible at the bottom.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek Nocoń
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: