-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.10 EE GA1, 6.2.X EE, 7.0.0 CE GA1, 7.0.1 CE GA2
-
Fix Version/s: 6.2.X EE, 7.0.0 DXP FP1, 7.0.2 CE GA3, 7.0.0 DXP SP1, 7.0.3 CE GA4, Master
-
Component/s: Asset Framework, Ratings, ~ [Archived] Social Networking
-
Branch Version/s:7.0.x, 6.2.x
-
Backported to Branch:Committed
-
Story Points:1.5
-
Fix Priority:3
-
Git Pull Request:
Fields 'ratings', 'visible' and 'viewCount' are not updated in index when they are updated in database:
- com.liferay.portlet.ratings.service.impl.RatingsStatsLocalServiceImpl
- com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl
... without modification of own object (JournalArticle, DLFilEntry...)
Steps to reproduce
- Create a JournalArticle and a DLFileEntry
- Add them to a AssetPublisher and configure it to view ratings
- Check viewCount and ratings of both objects in Database and index ElasticSearch (master) / Lucene (6.2.x)
- Update ratings of both objects
- Download DLFileEntry (in order to update viewCount)
- Check viewCount and ratings of both objects in Database and ElasticSearch (master) / Lucene (6.2.x):
- Wrong behaviour: values are updated only in database
- Expected behaviour: values are updated in both sides (index and database)
- Wrong behaviour: values are updated only in database
- causes
-
LPS-70724 Throughput issues due to the increased number of search write requests after LPS-65978
- Closed
- relates
-
LPE-15070 Fields ratings, visible, viewCount are not updated in index when they are updated in database without object modification
-
- Closed
-
- Testing discovered
-
LPS-66216 Search functionality of Recycle bin doesn't work for WikiPage, DLFileEntry, DLFolder and JournalFolder objects after a full reindex
- Closed