Uploaded image for project: 'Magnolia Frontend Helpers'
  1. Magnolia Frontend Helpers
  2. MGNLFE-335

Window object is not available during initializing PageEditorBridge in EditablePage's constructor on Angular SSR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.3.1
    • None
    • None
    • None

      The PageEditorBridge#init is called in EditablePage constructor, so window object is not available when running on server. We need to move the logic to call PageEditorBridge#init after the component is attached to the view, then window object will be available to be used.

        Acceptance criteria

          There are no Sub-Tasks for this issue.

              canh.nguyen Canh Nguyen
              czimmermann Christopher Zimmermann
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1.25d
                    1.25d