Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-95909

When clicking on the Edit Document for the Office macro using the Edit in Office feature, the attachment fails to open with an error.

      Issue Summary

      The Office connector doesn't include the base URL and adds double slashes to the link path, preventing the Office editor from interpreting the URL and invalidating it for certain Office versions.
      This is reproducible on the Data Center: Yes

      Steps to Reproduce

      1. Ensure that Enable Edit in Office for all users (this will disable the Companion app) is checked in the Office Connector view in the Admin console.
      2. Create a page.
      3. Upload Word or Excel file.
      4. Publish page.
      5. Edit page and insert the Office Excel or Word macro using the uploaded file name for File Name.
      6. Update page.
      7. Click Edit Document on the Office macro.

      Expected Results

      Document to open in Office to allow the user to edit it and save it.

      - "Edit Document" button >> above ‘Office Excel’ Macro
      https://<base-url>/plugins/servlet/confluence/editinword/1572865/attachments/August14rreport_2024-05-06T16_18_26.833Z.xlsx
      
      - Edit in Office >> from the attachments page
      https://<base-url>/plugins/servlet/confluence/editinword/1572865/attachments/August14rreport_2024-05-06T16_18_26.833Z.xlsx
      

      Actual Results

      The user is prompted with an error depending on the version of Office because of the URL

      - "Edit Document" button >> above ‘Office Excel’ Macro
      https://plugins//servlet//confluence//editinword//1703937//attachments//August14rreport_2024-05-06T16_18_26.833Z.xlsx
      - Edit in Office >> from the attachments page
      https://instenv-298878-eggc.instenv.internal.atlassian.com/plugins/servlet/confluence/editinword/1703937/attachments/August14rreport_2024-05-06T16_18_26.833Z.xlsx
      


      The user can edit the document in the attachments view using the edit option.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [CONFSERVER-95909] When clicking on the Edit Document for the Office macro using the Edit in Office feature, the attachment fails to open with an error.

            Arun Antony made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Arun Antony made changes -
            Fix Version/s New: 9.2.1 [ 110238 ]
            SET Analytics Bot made changes -
            Support reference count Original: 7 New: 8
            SET Analytics Bot made changes -
            Support reference count Original: 6 New: 7
            SET Analytics Bot made changes -
            UIS New: 1
            SET Analytics Bot made changes -
            Support reference count Original: 5 New: 6
            SET Analytics Bot made changes -
            Support reference count Original: 4 New: 5
            SET Analytics Bot made changes -
            Support reference count Original: 3 New: 4
            Kaan Çalışkan made changes -
            Affects Version/s New: 8.9.8 [ 110195 ]

            Hello
            are there any updates on a workaround for the issue in Office Excel?

            Süreyya Kocali added a comment - Hello are there any updates on a workaround for the issue in Office Excel?

              33fcd7e92bd6 Arun Antony
              mmadrid@atlassian.com Mark M
              Affected customers:
              11 This affects my team
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: