Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Steps to reproduce:
Expected results: The link to the page is updated with the new location and name. Related to #110
Actual results: The link to the page appears as it was initially created, it's not updated.
Environment: Windows 10, XWiki 11.10.4 with MySQL 5.7 and Chrome 81
PDF Export xwiki_Diagram_Diagram+5_WebHome.pdf
The text was updated successfully, but these errors were encountered:
Not reproducing on 9.11 XWiki version. Seems to be only on newer versions and only about updating the SVG attachment after rename.
Workaround: a new edit + save of the diagram will update the SVG as well
Sorry, something went wrong.
After some investigations this issue is a platform issue having the same cause as https://jira.xwiki.org/browse/XWIKI-17187
So this will be reproducing in XWiki versions 11.10.3, 12.0 and is fixed starting with 12.3-rc-1, 11.10.5, 12.2.2
The issue is caused by https://github.com/xwikisas/application-diagram/blob/master/application-diagram-api/src/main/java/com/xwiki/diagram/internal/handlers/DiagramContentHandler.java#L122
where getExternalURL and getURL are not returning the right value (more details on the JIRA issue pointed above), so the new content of the attachment is not actually an updated one.
No branches or pull requests