-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
6.12.4, 7.0.3
-
None
-
3
-
Severity 3 - Minor
-
3
-
Issue Summary
Space Export to HTML does not come with images in Include Page Macro pointed to a different Space
Environment
Confluence 6.12.4
Confluence 7.0.3
Steps to Reproduce
- Create a new space named SpaceA
- Create a new page in SpaceA named PageA
- Upload an image to PageA and publish it so the image is shown in the view mode
- Create another new space named SpaceB
- Create a new page in SpaceB named PageB
- Insert an Include Page Macro in PageB that points to PageA
- Publish PageB so the image in PageA should now show in PageB
PageB Storage Format
<p> <ac:structured-macro ac:name="include" ac:schema-version="1" ac:macro-id="b6ee0786-f93b-4b78-8876-464b8d55c9d9"> <ac:parameter ac:name=""> <ac:link><ri:page ri:space-key="SPACEA" ri:content-title="PageA" /></ac:link> </ac:parameter> </ac:structured-macro> </p>
- Export SpaceB into HTML format and open up the exported PageB
Expected Results
The image that is seen in PageB from the Confluence is also seen in the HTML Page Export
Actual Results
The image is displayed as a Broken Image in the HTML Page Export
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Information
By inspecting the HTML File for the exported page, the image attachment can be found as below:
<div id="main-content" class="wiki-content group"> <p><span class="confluence-embedded-file-wrapper confluence-embedded-manual-size"><img class="confluence-embedded-image" height="250" src="attachments/1179681/1179695.jpg" data-image-src="attachments/1179681/1179695.jpg" data-unresolved-comment-count="0" data-linked-resource-id="1179695" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="bananas.jpg" data-base-url="http://10.60.3.46:2703" data-linked-resource-content-type="image/jpeg" data-linked-resource-container-id="1179681" data-linked-resource-container-version="2"></span></p> </div>
If the attachment is manually created in attachments/1179681/1179695.jpg, it can be shown in the HTML so if Confluence has included the image in the HTML Page Export, this page would displayed with the image properly.
- relates to
-
CONFSERVER-35525 HTML export: Images with certain characters and from different pages missing
- Gathering Impact
-
CONFSERVER-93244 Space Export to HTML does not come with the exported HTML file path in Include Page Macro pointed to a page link.
- Gathering Impact