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

Blogs Aggregator and Recent Bloggers portlets display blog entries from other companies (portal instances)

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.0.2 RC
    • Fix Version/s: 6.0.3 GA
    • Component/s: Blogs
    • Labels:
      None
    • Branch Version/s:
      5.2.x, 5.1.x
    • Backported to Branch:
      Committed

      Description

      The method
      public List<BlogsStatsUser> findByGroupIds(long companyId, long groupId, int start, int end)
      in com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinderImpl
      ignores the companyId because of the way the sql query is written.

      It should look like :

      (Group_.companyId = ?)
      AND (
      (Group_.groupId = ?) OR
      (part about staging groups)
      )

      instead of :

      (Group_.companyId = ?) AND
      (Group_.groupId = ?) OR
      (part about staging groups)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                10 years, 6 weeks, 2 days ago

                Packages

                Version Package
                6.0.3 GA