-
Bug
-
Resolution: Cannot Reproduce
-
Medium
-
24
-
Severity 2 - Major
-
1
-
NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.
Summary:
copy a page with linked attachment to another space will break the attachment link
Steps to Reproduce
- Create a page, insert an attachement (attachment1.jpg)
- Create a new page within the same space
- Insert a link of the attachement by:
- Click Insert more content
- Files and Images
- Search on other pages > Search for the attachment >(write "attachment1 on the field) Search > Choose the image > Insert
- Save Page
- Move this page to other space by:
- Tools
- Copy
- Set New Location to new space and parent page
- Save
Expected Results
Page copied normally with the attachment link still intact.
Actual Results
The image link has broken.
Workaround
Copy to somewhere in same space then move to new location in new space:
- Tools
- Copy
- Save to a temporary location within same space
- Tools
- Move
- Set New Location to new space and new parent page
Notes
Upon investigating, it seems like there is a difference of macro defined to link attachemnet from the same space and from different space
Storage format of page containing attachment from the same space:
<p><ac:image><ri:attachment ri:filename="connie.PNG"><ri:page ri:content-title="Confluence" /></ri:attachment></ac:image></p>
Storage format of page containing attachment from different space:
<p><ac:image ac:height="250"><ri:attachment ri:filename="connie.PNG"><ri:page ri:content-title="Confluence" ri:space-key="T5S" /></ri:attachment></ac:image></p>
(note the "space-key")
For more information please check the screencast attached
- duplicates
-
CONFCLOUD-36497 Attachment missing in confluence pages
- Closed
- is duplicated by
-
CONFCLOUD-39975 Attachments on a page are broken after moving page trees between spaces
- Closed
- is related to
-
CONFSERVER-37772 Copying page with linked attachment or with a link to a page in the same space to another space will break those links
- Gathering Impact
- mentioned in
-
Page Loading...