Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-29603

Attachments Macro Errors Rendering Attachment

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      If you use the attachments macro and specify a page to use in the macro properties, when the macro is rendered out the attachment preview fails. It seems it is looking to the local page for the attachment to render it rather than the page the attachment is really on.

      Steps to reproduce:

      1. In a space, create a page and insert an attachment.
      2. Create another page, and insert the attachment macro. Configure it to list the attachment from the page in step 1.
      3. Save the page and view it. The attachment from the other page is linked, and the link is valid. But when you expand to see the details of the attached file, there's no preview, and the following error is thrown: "Error rendering macro 'viewfile' : The viewfile macro is unable to locate the attachment "xxxx.xxx" on this page"

      The viewfile macro is looking for the attachment on the page that references the attachment.

      Attachments

        1. 2014-05-28_111354.png
          2014-05-28_111354.png
          28 kB
        2. Capture.png
          Capture.png
          13 kB

        Issue Links

          Activity

            People

              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              4acf2633d949 Davin Studer
              Votes:
              15 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: