This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-a656fe33-775c-453c-9d2d-256a323c62c0 XWIKI-24179 Open

Revision links are not language-aware and can point to incorrect revisions

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-8a026792-58b7-4754-8d16-5c34c88e2596 Damien Mure created this issue on 01/Apr/26 10:32
 
Summary: Revision links are not language-aware and can point to incorrect revisions
Issue Type: cid:jira-generated-image-avatar-a656fe33-775c-453c-9d2d-256a323c62c0 Bug
Affects Versions: 17.10.4
Assignee: Unassigned
Created: 01/Apr/26 10:32
Priority: cid:jira-generated-image-static-minor-e63c1508-b22e-47bd-b6c6-796ee6ac9590 Minor
Reporter: Damien Mure
Description:

Revision links generated from the document history do not include the language of the page being viewed.

As a result, the link may point to a non-existent or incorrect revision if the recipient has a different default language.

Steps to reproduce:

  1. Create a page with two language translations (e.g. French and English), with different revision histories.
  2. Set the default language to French (Profile → Language → French).
  3. Open the multilingual page without specifying a language in the URL.
  4. From the “History” section, copy a revision link (note that it does not include the language parameter).
  5. Change the profile language to English.
  6. Open the copied link.

Actual result:
The link opens the English version of the page and:

  • either displays a different revision than expected, or
  • fails if the revision does not exist in English.

Expected result:
The revision link should include the language context and always point to the exact revision from which it was generated (e.g. French revision in this case).

Impact:
Revision links are not reliable or shareable across users with different language settings, as they are neither permanent nor unique.

Workaround:
Manually add the language parameter to the URL (e.g. &language=fr) before sharing the link.