Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-33474

Activities portlet shows only one type of activity

    Details

      Description

      issue description

      SocialActivityInterpreterLocalServiceImpl.addActivityInterpreter method uses StringPool.BLANK as a selector when putting interpreters into _activityInterpreters. Every subsequent calls rewrite the previously put interpreter, so only one interpreter will be stored in the hash.

      portal-web/docroot/html/taglib/ui/social_activities/page.jsp also uses StringPool.BLANK as a selector when calling SocialActivityInterpreterLocalServiceUtil.interpret (see /html/taglib/ui/social_activities/init.jsp).

      This caused, that only one type of social activity will be displayed in Activities portlets.

      cause

      The cause is probably in LPS-33320 which provided the new method : getSelector() in BaseSocialActivityInterpreter.

      Steps to reproduce

      put Activities portlet on a page
      create a blog message
      create a webcontent

      expected behaviour

      Activities portlet should show 2 messages

      Experienced behaviour

      Activities portlet shows only 1 or none message

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              peter.borkuti Peter Borkuti (Inactive)
              Reporter:
              peter.borkuti Peter Borkuti (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 29 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.0 CE M5