Issue
- I have an issue with the Asset Rating. I create web content or any asset that can be rated. I place an Asset Publisher on a page to display the content. I enable the ratings on the Asset Publisher. When I rate the displayed article, I receive a JS error, and after refreshing the page, the rating is reset.
Reproduction Steps:
- Start 2025.q2.2
- Go to Content and Data --> Web Content, and add a web content.
- Go to Site Builder --> Collections, create a collection, and configure it for the basic web content.
- Go to Site Builder --> Pages, add a page, and add to it an Asset Publisher widget.
- Configure the AP widget to display the content and enable the Ratings option.
- Go to the Page and try to rate the displayed content.
Expected Result: The rating value remains with no issue.
Actual Result: A JS error is thrown in the browser console, and after refreshing the page, the rating is reset.
Environment
- Liferay Quarterly Release 2025.q2.2
Resolution
- The case has been addressed and resolved by LPD-55075. If you are in 2025.q2+ releases, kindly request a hotfix. It is included in 2025.Q1.12