Details
-
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
7.0.0 M6
-
None
-
3
-
Regression Bug
Description
At Staging process, the deletions of Tags, Categories and Vocabularies 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 tag called "Tag1"
- Create a webcontent and a document at document library and categorize them with both "Cat1" and "Tag1"
- 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" and "Tag1"
- Output: both webcontent and document will be displayed
- Output: both webcontent and document will be displayed
- Delete "Cat1" and "Tag1"
- Publish publish again from Staging to Live. Only deletion of category and tag will be published
- At search portlet execute a search at Staging and Live side with "Cat1", "Cat2", "Tag1" and "Tag2"
- Staging behaviour: Cat1/Tag1 will not display any result at search as we have deleted both
- Wrong behaviour at Live: Cat1/Tag1 displays both webcontent and document, even it was deleted.
- Correct behaviour at Live: Live search should return same results than Staging
- Staging behaviour: Cat1/Tag1 will not display any result at search as we have deleted both
This issue is related to LPS-56310 (same problem but applied to rename)
Attachments
Issue Links
- depends on
-
LPS-56593 Provide a delayed indexing mechanism so that index requests are not executed until after transactions have been committed
-
- Closed
-
- is caused by
-
LPS-50379 Disable indexing during publishing and automatically resume it after the publish succeeds
-
- Closed
-
- is related to
-
LPS-53847 Duplicated categories can be generated at Live environment because category deletions are not published from Staging to Live
- Closed
-
LPS-56310 At 6.2.x, after the publication to live, deleted objects are not removed from search index
- Closed
-
LPS-56593 Provide a delayed indexing mechanism so that index requests are not executed until after transactions have been committed
-
- Closed
-
- relates
-
LPS-56308 At Staging process, the rename of Categories should trigger reindex of associated asset entries
- Closed