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

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          There are no Sub-Tasks for this issue.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

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