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

'My sites' menu does not show any site when the user belongs to an organization without pages, and to several sites

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 Alpha 1
    • Fix Version/s: 7.0.0 Alpha 1
    • Component/s: Product Menu
    • Labels:
      None

      Description

      'My sites' menu does not show any site when the user belongs to an organization without pages, and to several sites, where the query to retrieve the groups returns the organization's group as the first one, removing it from the list.

      As the hasPermission asks only for one element (see MySitesPanelCategory.java:75), then siteGroups variable is empty, because the getMySiteGroups method removed it.

      Steps to reproduce:

      • create an organization, without pages on its site.
      • create several groups, with pages. The names of the groups should be such that returning the groups of a user, the retrieved one first must be the organization group.
      • Browse the portal, opening product menu

      Expected behaviour: Site menu displays the sites the user belongs to.
      Actual behaviour: Site menu displays no sites, although the user belongs to groups with pages.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 46 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 Alpha 1