Details
-
Bug
-
Resolution: Obsolete
-
Low
-
Windows Server 2008 R2
SQL Server 2008 R2
Confluence 5.1.2
-
4
-
Severity 3 - Minor
-
0
-
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:
- In a space, create a page and insert an attachment.
- Create another page, and insert the attachment macro. Configure it to list the attachment from the page in step 1.
- 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
Issue Links
- is related to
-
CONFSERVER-29603 Attachments Macro Errors Rendering Attachment
- Closed