Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-52003

After a full reindex of Liferay indexes, a wrong webcontent version is indexed in Lucene index when journal.articles.index.all.versions=false

    Details

      Description

      After a full reindex of Liferay indexes, a wrong webcontent version is indexed in Lucene index when journal.articles.index.all.versions=false

      Steps to Reproduce

      1. Install hotfix that includes LPS-48407
      2. Activate journal.articles.index.all.versions=false flag at portal-ext.properties
      3. Create a new web structure and template
      4. Create a new webcontent using previous created structure
      5. Add some versions to webcontent, leave last version as "draft" (1.0 => approved, 1.1 => approved and 1.2 => draft)
      6. Check indexed version at lucene/elasticsearch index: the last approved version 1.1 version will be stored at index
      7. Execute a full reindex of Liferay indexes => all webcontents will be reindexed
      8. Check indexed version at lucene/elasticsearch index: the 1.2 version(draft) will be stored at index

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 32 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE
                  7.0.0 M3