Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.X EE
-
6.2.x
-
Committed
-
9
-
4
-
Regression Bug
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
- Create a site and activate Staging local
- Create a vocabulary called "Voc1" with a category called "Cat1"
- Create a webcontent and a document at document library and categorize them with "Cat1"
- Create a page and add to it the search portlet
- Publish all this objects to Live
- At search portlet execute a search at Staging and Live side with "Cat1"
- Output: both webcontent and document will be displayed
- Output: both webcontent and document will be displayed
- Rename "Cat1" to "Cat2"
- Publish publish again from Staging to Live. Only category and tag will be published
- 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
- Staging behaviour: Cat1 will not display any result at search. Cat2 will display both webcontent and document.
Attachments
Issue Links
- is caused by
-
LPS-50379 Disable indexing during publishing and automatically resume it after the publish succeeds
-
- Closed
-
- is related to
-
LPS-56559 At Staging process, deletions of Tags and Categories should trigger reindex of associated asset entries
- Closed
-
LPS-56593 Provide a delayed indexing mechanism so that index requests are not executed until after transactions have been committed
-
- Closed
-
- relates
-
LPE-14224 At Staging process, the rename of Categories should trigger reindex of associated asset entries
-
- Closed
-