Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23529

Translated pages sometimes aren't indexed during extension installation

    XMLWordPrintable

Details

    • Unit, Integration
    • Unknown
    • N/A
    • N/A

    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.

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: