Details
-
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
7.3.4 CE GA5
-
None
-
None
-
3
-
LIMA | QA Sprint 6
Description
When building LR site from scratch we found social activity counters were disabled. However, counting works with same portlets on different site created n 6.x version and regularly migrated up to the current version. By inspecting both database and code we found there are missing entries in SocialActivitySetting table for particular asset type. By adding them manually it started to work.
These entries can be added via Groovy script in the Server Administration:
import com.liferay.social.kernel.service.SocialActivitySettingLocalServiceUtil; // verify groupId (20122) by SQL command: select groupid from group_ where friendlyurl='/your-site-friendly-url'; SocialActivitySettingLocalServiceUtil.updateActivitySetting(20122, "com.liferay.message.boards.model.MBMessage", true); SocialActivitySettingLocalServiceUtil.updateActivitySetting(20122, "com.server.portal.app.model.MyAsset", true);