-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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? Sign in to your account
Diagram links not showing until page is refreshed, after editing a page with a diagram macro #269
Comments
This happens only when using inline editing mode, and it's not only for the first time you add a diagram macro (that links to a diagram with links), but every time you inline edit a page with such diagrams. Basically, the view you had in edit mode, with a diagram image instead of the actual diagram, is preserved until you refresh the page. |
Issue reproducing on XWiki 14.10.18 with Diagram version 1.21.1-rc-1, Chrome 131, Windows 11 Pro |
Steps to reproduce:
Create a diagram "Diagram-1"
Add some shapes
In one or 2 of the shapes add some text
Select a word and link it to another page in the wiki
Select another word and link it to an external URL
Create a new simple page
Edit it and click on Insert > Other Macros
Search for Diagram Macro
In the "Reference" Field type the name of the existing diagram page (e.g. Diagram.Diagram-1.WebHome)
Uncheck "Cached"
Click Submit
Click on Save & View
Expected results: The diagram appears with the selected links.
Actual results: The diagram appears with no links, the user needs to refresh the page 1or 2 times to see the links.
After Save & View
After Refresh
Environment: Windows 11, Chrome 125, Cloud XWiki 15.10.8, Diagram Application (Pro) 1.20.4
The text was updated successfully, but these errors were encountered: