Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
Unknown
-
Description
Prerequisites:
- have a custom avatar for the existing admin account.
Steps to reproduce:
- Logged with pre-admin account
- Go to any Sandbox test page
- Click More Actions → Export → HTML
- Unzip the exported archive and open "index.html" page
- Look at the user profile avatar on the page header
Actual result:
You won't see user avatar on local HTML version, instead of it you'll see invalid avatar in exported html file.png
If you check the HTML structure of the page, the image has a static path
<img src="/xwiki/bin/download/XWiki/Admin/neom-s0A8sa9oasY-unsplash.jpg?width=50&height=50&keepAspectRatio=true&rev=1.1" alt="Administrator" title="Administrator">
Moreover, in unzipped folder, the image is located
test sandbox export html\attachment\xwiki\XWiki\Admin\neom-s0A8sa9oasY-unsplash.jpg
Expected result:
The avatar is visible after page export in HTML
Attachments
Issue Links
- is related to
-
XWIKI-18149 HTML Export shouldn't show UI elements that require a local XWiki runtime
- Reopened