Social Activities: Deleting activities together with the source asset

Jan Tošovský, modificado 1 Ano atrás. Liferay Master Postagens: 576 Data de Entrada: 22/07/10 Postagens Recentes

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.

thumbnail
Jamie Sammons, modificado 1 Ano atrás. Expert Postagens: 367 Data de Entrada: 05/09/14 Postagens Recentes

Feature Request Created: https://liferay.atlassian.net/browse/LPD-39422