Skip to content
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

Backlinks aren't added for wiki pages referenced in a diagram content starting with XWiki 14.8 #294

Closed
Farcasut opened this issue Oct 23, 2024 · 0 comments · Fixed by #298
Assignees
Milestone

Comments

@Farcasut
Copy link

Farcasut commented Oct 23, 2024

Starting with XWiki 14.8, the platform backlinks functionality was deprecated , see https://jira.xwiki.org/browse/XWIKI-16192 . Right now, the diagram application still uses the deprecated way to add backlinks when a wiki page is referenced inside a diagram content. Because of this, now when a referenced page will be renamed / moved, the diagram content won't be updated to have the new link.

Note that this is a 'sub-issue' of #245 , along with #295. This and #295 have separated causes, but both break the update links functionality.

Note that after this issue is fixed, there would still be problems with updating links on Diagram application versions >= 1.20.3 because of #295 (if it isn't fixed)

@oanalavinia oanalavinia changed the title In newer XWiki versions (14.8+), when we add a link to a diagram, the backlink is not added. Backlinks aren't added for wiki pages referenced in a diagram content starting with XWiki 14.8 Oct 23, 2024
Farcasut added a commit that referenced this issue Nov 4, 2024
… starting with XWiki 14.8 #294 (#298)

* Fixed backreferences for the diagrams and diagram macro.
@Farcasut Farcasut added this to the 1.21 milestone Nov 7, 2024
@Farcasut Farcasut closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment