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

At Staging process, the rename of Categories should trigger reindex of associated asset entries

Details

    Description

      At Staging process, the rename of Categories does not trigger the reindex of associated asset entries.

      This bug was caused by LPS-50379:

      • We are disabling indexing system during Staging process and after that we only reindex the objects that we have published from staging to Live
      • The problem is liferay code at XxxxxLocalServiceImpl sometime execute additional reindex for related objects

      Steps to reproduce

      1. Create a site and activate Staging local
      2. Create a vocabulary called "Voc1" with a category called "Cat1"
      3. Create a webcontent and a document at document library and categorize them with "Cat1"
      4. Create a page and add to it the search portlet
      5. Publish all this objects to Live
      6. At search portlet execute a search at Staging and Live side with "Cat1"
        • Output: both webcontent and document will be displayed
      7. Rename "Cat1" to "Cat2"
      8. Publish publish again from Staging to Live. Only category and tag will be published
      9. At search portlet execute a search at Staging and Live side with "Cat1", "Cat2"
        • Staging behaviour: Cat1 will not display any result at search. Cat2 will display both webcontent and document.
        • Wrong behaviour at Live: Cat1 displays both webcontent and document. Cat2 does not displays any result at search.
        • Correct behaviour at Live: Live search should return same results than Staging

      Attachments

        1. tag1.png
          tag1.png
          32 kB
        2. tag2.png
          tag2.png
          19 kB

        Issue Links

          Activity

            People

              melody.wu Melody Wu
              jorge.diaz Jorge Diaz
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 42 weeks, 1 day ago

                Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE