PUBLIC - Liferay Social Office Community Edition
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-1880

Dockbar: A user without the SO role is unable to see their sites listed under My Sites

    Details

    • Fix Priority:
      4
    • Affects Portal Version/s:
      6.2.x
    • Similar Issues:
      Show 5 results 

      Description

      Dockbar: A user without the SO role is unable to see their sites listed under My Sites.

      1. Deploy the SO plugins.
      2. Navigate to localhost:8080.
      3. Click on "My Sites" to try to expand the drop down.

      Actual result: Only a little blue section shows up.

      Expected result: The menu should expand to show all sites I am a member of. As test@liferay, this means I should see the site "Liferay" listed.

      This does not happen when the SO plugins are NOT deployed. Please see the .gifs for clarification.

        Issue Links

          Activity

          Hide
          Matthew Kong added a comment -

          Caused by these 2 portal.properties being hooked by so-hook
          my.sites.show.public.sites.with.no.layouts=false
          my.sites.show.private.sites.with.no.layouts=false

          We no longer use these properties since we have our own sites portlet so they will be removed.

          However, the root problem is a portal issue in GroupImpl.isShowSite and when checking the layout count:
          int siteLayoutsCount = LayoutLocalServiceUtil.getLayoutsCount(this, true);

          It's hard coded to true so it is always only checking private pages.

          Show
          Matthew Kong added a comment - Caused by these 2 portal.properties being hooked by so-hook my.sites.show.public.sites.with.no.layouts=false my.sites.show.private.sites.with.no.layouts=false We no longer use these properties since we have our own sites portlet so they will be removed. However, the root problem is a portal issue in GroupImpl.isShowSite and when checking the layout count: int siteLayoutsCount = LayoutLocalServiceUtil.getLayoutsCount(this, true); It's hard coded to true so it is always only checking private pages.
          Hide
          Benjamin Yeh (Inactive) added a comment - - edited

          No Longer Reproducible through Manual Testing following the steps in the description.

          No Longer Reproducible on:
          Tomcat 7.0.42 + MySQL 5. Portal 6.2.0 CE GA1
          Plugins 6.2.X CE Git ID: 8921493bf863c45ab58a27fb6c29f8e8cfd75d30

          Social Office no longer display My Site this way. It is now under the Goto drop down menu. In this view My Sites are displayed.

          Show
          Benjamin Yeh (Inactive) added a comment - - edited No Longer Reproducible through Manual Testing following the steps in the description. No Longer Reproducible on: Tomcat 7.0.42 + MySQL 5. Portal 6.2.0 CE GA1 Plugins 6.2.X CE Git ID: 8921493bf863c45ab58a27fb6c29f8e8cfd75d30 Social Office no longer display My Site this way. It is now under the Goto drop down menu. In this view My Sites are displayed.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:
                Days since last comment:
                1 year, 28 weeks, 3 days ago

                Development

                  Structure Helper Panel