This issue has been created
There are 3 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-d57c7229-bdbc-4724-b7f7-7a67d34ec846 XWIKI-23529 Open

Translated pages sometimes aren't indexed during extension installation

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-85934fb7-e4a4-49c9-839e-408f281473d4 Michael Hamann created this issue on 15/Sep/25 16:19
 
Summary: Translated pages sometimes aren't indexed during extension installation
Issue Type: cid:jira-generated-image-avatar-d57c7229-bdbc-4724-b7f7-7a67d34ec846 Bug
Affects Versions: 17.6.0
Assignee: Unassigned
Components: Search - Solr
Created: 15/Sep/25 16:19
Priority: cid:jira-generated-image-static-major-92e8f215-d433-487c-8686-1d818a3a715d Major
Reporter: Michael Hamann
Description:

Steps to reproduce:

  • Install an extension that contains translations
  • Check if all translations have been indexed in the Solr search index

Simpler: Execute the SolrIndexerIT integration test

Expected result:

All translations have been index/the test passes.

Actual result:

Sometimes, in particular on MySQL, the test fails.

Locally, the failures with MySQL were very reproducible on the stable-17.8.x branch before 17.8.0RC1. Adding debug logs revealed that the translations are indexed at a point where the default document doesn't exist yet. In this condition, indexing them fails. As last step, the default document is created and indexed, but then the translations aren't indexed anymore.

This is fixed on the next restart of XWiki. Even before that, there shouldn't be any consequences as we normally don't rely on translations being indexed in Solr.

 
 

3 updates

 
cid:jira-generated-image-avatar-85934fb7-e4a4-49c9-839e-408f281473d4 Changes by Michael Hamann on 15/Sep/25 16:20
 
Fix Version: 17.8.0
Fix Version: 17.4.5
Assignee: Michael Hamann