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

Wrong classPK used in activities for JournalArticle

    Details

      Description

      When adding activities for articles, the current value passed as classPK is article.getId(). This is wrong because we don't want to record the activity or activity counters for a certain version but rather the whole article. Not to mention that for activities an asset should exist and the asset for an article is identified not by the article's id but by it's resource primary key.

        Attachments

          Activity

            People

            Assignee:
            michael.saechang Michael Saechang
            Reporter:
            zsolt.berentey Zsolt Berentey (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 years, 4 weeks, 4 days ago

                Packages

                Version Package
                6.2.0 CE M5