<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Social Activities: Deleting activities together with the source asset</title>
  <link rel="self" href="https://liferay.dev/pt/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=123009425" />
  <subtitle>Social Activities: Deleting activities together with the source asset</subtitle>
  <id>https://liferay.dev/pt/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=123009425</id>
  <updated>2026-04-27T18:08:31Z</updated>
  <dc:date>2026-04-27T18:08:31Z</dc:date>
  <entry>
    <title>RE: Social Activities: Deleting activities together with the source asset</title>
    <link rel="alternate" href="https://liferay.dev/pt/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123027717" />
    <author>
      <name>Jamie Sammons</name>
    </author>
    <id>https://liferay.dev/pt/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123027717</id>
    <updated>2024-10-15T17:15:45Z</updated>
    <published>2024-10-15T17:15:45Z</published>
    <summary type="html">&lt;p&gt;Feature Request Created: https://liferay.atlassian.net/browse/LPD-39422&lt;/p&gt;</summary>
    <dc:creator>Jamie Sammons</dc:creator>
    <dc:date>2024-10-15T17:15:45Z</dc:date>
  </entry>
  <entry>
    <title>Social Activities: Deleting activities together with the source asset</title>
    <link rel="alternate" href="https://liferay.dev/pt/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123009424" />
    <author>
      <name>Jan Tošovský</name>
    </author>
    <id>https://liferay.dev/pt/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123009424</id>
    <updated>2024-10-07T08:09:10Z</updated>
    <published>2024-10-07T08:09:03Z</published>
    <summary type="html">&lt;p&gt;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 &amp;quot;Activity no longer applies&amp;quot;. 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. &lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</summary>
    <dc:creator>Jan Tošovský</dc:creator>
    <dc:date>2024-10-07T08:09:03Z</dc:date>
  </entry>
</feed>
