Word previews break when using the Office Macros after migration from server

XMLWordPrintable

    • 6
    • Minor

      Issue Summary

      Word previews break when using the Office Macros after migration from server. After migrating with CCMA - pages using the worddoc Office macro appear blank. Users have to reload page or view another page with the viewfile macro that is loading properly, then go back to the broken page for it to load. 

      Steps to Reproduce

      1. Create a page in server with Word Office Macro
      2. Migrate with CCMA
      3. Load the same page

      Expected Results

      Attachment preview should load automatically. 

      Actual Results

      Confluence does not load the attachment preview automatically. When compared to a bad page load, we can see that a good page load has a call to the Media API to load the preview:

      This is a good load:

      • GET on this URL returns a 206 code:
      https://api.media.atlassian.com/file/asdf-123-41e6-b9f9-2f34a7f110d6/artifact/document.pdf/binary?token=<APITOKEN>&client=<CLIENTID>9&name=ATTACHMENTTITLE.docx

      When we load the page and it's broken it does not make this call automatically. Users have to refresh to load the previews.
       

      Workaround

              Assignee:
              Daniel Ponzio
              Reporter:
              Daniel Ponzio
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: