Tapping "Download file" from Office macros will not work for the legacy editor

XMLWordPrintable

    • 3
    • Minor

      Issue Summary

      When using the Office macros (e.g. Excel, Word), the user has an option to download the file while editing a legacy editor page:

      Upon trying to tap the Download File button, the user will be redirected to a "Page not found" instead of downloading the file.

      Steps to Reproduce

      1. Edit a page using the legacy editor
      2. Add an attachment (I.E. an Excel file) to the page so it can be used later
      3. Insert the Office Excel macro and keep the Page field blank so it will retrieve the file from the current page.
      4. Tap the Download File button

      Expected Results

      The file should be downloaded.

      Actual Results

      The user is redirected to a "page not found" with an URL like the example below:

      https://instance.atlassian.net/wiki/plugins/servlet/oc/getattachment?space=KEY&filename=FILE_NAME.xlsx&contextid=PAGE_ID&contexttype=page
      

      Workaround

      • Download the file from the Attachments part of the page. If the macro states that the attachment is on a different page, make sure to access the Attachments part of the page in question.
      • Upload the file directly to the page and upon tapping to view it, select the download option (down arrow)

        1. download_example.png
          19 kB
          Giuliano C.

            Assignee:
            Unassigned
            Reporter:
            Giuliano C.
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: