Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
- Home
- General
- Feature Requests
- RE: Social Activities: Deleting activities together with the source asset
RE: Social Activities: Deleting activities together with the source asset
Currently, social activities aren't deleted when the source asset is deleted. Deleting is triggered only when the Social Activity is interpreted for the Notification portlet and the source asset is not found. However, the corresponding row is still shown in the Notification portlet as "Activity no longer applies". By refreshing the page this entry disappears, but this behavior can be confusing. Additionally, deleting is done just for the specific user. Notifications for the same asset for other users are kept intact.
How about changing this logic and deleting all related social activities together with deleting the original asset? We basically need a new service method deleting all activities for the given classID and classPK and call it in delete method of *LocalServiceImpl class.
Feature Request Created: https://liferay.atlassian.net/browse/LPD-39422
Powered by Liferay™