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

After expiring all versions of a webcontent, content is not reindex and a wrong webcontent version is stored in Lucene index when journal.articles.index.all.versions=false

    Details

      Description

      Steps to reproduce it

      1. Configure liferay portal-ext.properties with journal.articles.index.all.versions=false
      2. Add a new web content and publish it
      3. Open lucene/elasticsearch index, the created webcontent must be stored at index
      4. Add a second version (1.1)
      5. Expire all versions
      6. Open again lucene/elasticsearch index:
        • Expected behavior: the webcontent is removed from index, because it is expired (We do not index all versions because of "journal.articles.index.all.versions=false")
        • Wrong behavior: the webcontent is not removed from index, and it remains the last indexed version

        Attachments

        1. fixed.png
          fixed.png
          13 kB
        2. reproduced.png
          reproduced.png
          29 kB

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 17 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE
                  7.0.0 M4