Closed ane-gabriela closed 4 years ago
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
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
Investigation:
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.
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