Attachments macro on a page causes problems to edit and comment the page

XMLWordPrintable

    • 162
    • Severity 3 - Minor
    • 96

      Issue Summary

      When trying to edit/ add a comment to a Confluence page that has the Attachments macro, it will:

      • open the editor, but, will only keep loading with a spinning icon, instead of displaying the content.
      • Open the comment dialog but the user won't be able to type the comment.

      This seems to be affecting specific instances and environments.

      Steps to Reproduce

      1. Create a page
      2. Insert the Attachments macro on it.
      3. Publish the page and access a different page (or, manually reload the page and clear the browser cache)
      4. Publish the page again and then, try to edit the same or comment on it

      Expected Results

      • The editor should open, allowing the user to edit the page.
      • It should be possible to add comments to the page

      Actual Results

      • The editor keeps loading
      • It's not possible to add comments on view mode

      Notes

      The following is observed on the console:

      Uncaught TypeError: Cannot read property 'openDialog' of undefined
          at t.<computed>.t.<computed>.init (d2uowa935fr33t.cloudfront.net/download/atlassian-editor-plugins~dc51bad7.da91a7f2df430abbc5a1-v38.js:1)
          at EC (d2uowa935fr33t.cloudfront.net/download/atlassian-editor~dc51bad7.88179405e3c1fc722989-v38.js:1)
          at Array.<anonymous> (d2uowa935fr33t.cloudfront.net/download/atlassian-editor~dc51bad7.88179405e3c1fc722989-v38.js:1)
          at Object.nn [as each] (d2uowa935fr33t.cloudfront.net/download/atlassian-editor~dc51bad7.88179405e3c1fc722989-v38.js:1)
          at d2uowa935fr33t.cloudfront.net/download/atlassian-editor~dc51bad7.88179405e3c1fc722989-v38.js:1
          at DC (d2uowa935fr33t.cloudfront.net/download/atlassian-editor~dc51bad7.88179405e3c1fc722989-v38.js:1)
          at tw.<anonymous> (d2uowa935fr33t.cloudfront.net/download/atlassian-editor~dc51bad7.88179405e3c1fc722989-v38.js:1)
          at Array.<anonymous> (d2uowa935fr33t.cloudfront.net/download/atlassian-editor~dc51bad7.88179405e3c1fc722989-v38.js:1)
          at nn (d2uowa935fr33t.cloudfront.net/download/atlassian-editor~dc51bad7.88179405e3c1fc722989-v38.js:1)
          at c (d2uowa935fr33t.cloudfront.net/download/atlassian-editor~dc51bad7.88179405e3c1fc722989-v38.js:1)
      

      Workaround

      • Refresh the editor and the editor will be loaded.
      • Remove the attachment macro from the page.
        OR
      • Manually copy the page to a new one using the Try the new editing experience templates, as the issue is not affecting the new editor

            Assignee:
            Eric Le (Inactive)
            Reporter:
            Giuliano C.
            Votes:
            60 Vote for this issue
            Watchers:
            95 Start watching this issue

              Created:
              Updated:
              Resolved: