This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-1c3335d1-b05b-47a3-946b-7593c70262b7 XWIKI-23007 Open

Improve locale handling for metadata objects in live table

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-14376d9b-df8d-486d-aca1-9e737cf34fc5 Vanessa created this issue on 20/Mar/25 08:57
 
Summary: Improve locale handling for metadata objects in live table
Issue Type: cid:jira-generated-image-avatar-1c3335d1-b05b-47a3-946b-7593c70262b7 Improvement
Affects Versions: 16.10.4
Assignee: Unassigned
Components: App Within Minutes, LiveTable
Created: 20/Mar/25 08:57
Priority: cid:jira-generated-image-static-major-14762ebd-d768-4922-bace-b429cf70b7d9 Major
Reporter: Vanessa
Description:

When displaying a live table, the current implementation only retrieves pages with objects from the default translation (e.g. English). The metadata objects are shared among all translations of a wiki page, but they are stored on the default translation.

As a result, when viewing the live table in a different locale, the page titles displayed are in the correct locale, but the underlying pages retrieved from the database are from the default translation.

Proposed Solution:

The database query may be modified to "join" page translations matching the current locale and filter their titles.

Please let me know if you'd like me to modify anything.

 

Example issue: https://forum.xwiki.org/t/awm-filter-livetable-title-per-language/16704/1