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

Private Messaging portlet does not distinguish between sites and organizations when excluding set of users has been configured

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      4
    • Affects Portal Version/s:
      6.2.x
    • Similar Issues:
      Show 5 results 

      Description

      Steps to reproduce:

      1 - Configure the private messaging portlet with this properties:

      autocomplete.recipient.type=site
      autocomplete.recipient.site.excludes=Guest
      

      For the default site "Liferay.com" the site name is "guest". This configuration means that all the users which belong to Liferay will be excluded in the dropdown list "To"

      2- Create a Site A
      3- Create a Site B
      4- Create an Organization (Organization CC)
      5- Create a user X and assign it to Site A, Liferay.com and Organization CC
      6- Create a user Y and assign it to Site B, Liferay.com and Organization CC
      7- Add Private messaging Portlet to the guest site so both users can see it
      8- Log in Liferay as user X, Click on "New Message" -> "To", note that user Y is displayed
      9- Log in Liferay as user Y, Click on "New Message" -> "To", note that user X is displayed

      Expected behavior: User X shouldn't find user Y in the recipient list and viceversa, since the recipient list is based on site membership and the default "Liferay" site (the only both X and Y are members of) is excluded.

      Current behavior: User X finds user Y in the recipient list and viceversa.

      Same test has been carried out with Chat portlet and My Sites Directory Portlet, which also include the feature to exclude users by site. In both of them user list does not contain users that are members of excluded sites, even if they belong to the same Organization.

        Issue Links

          Activity

          Hide
          Ken Duenwald added a comment -

          Testing issue in 6.2

          Show
          Ken Duenwald added a comment - Testing issue in 6.2
          Hide
          Ken Duenwald added a comment -

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 7.0.42 + MySQL 5. Portal 6.2.0 CE GA1.
          Plugins 6.2.x CE GIT ID: 8921493bf863c45ab58a27fb6c29f8e8cfd75d30.

          User X does not find User Y in the recipient list and vice versa.

          Show
          Ken Duenwald added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0.42 + MySQL 5. Portal 6.2.0 CE GA1. Plugins 6.2.x CE GIT ID: 8921493bf863c45ab58a27fb6c29f8e8cfd75d30. User X does not find User Y in the recipient list and vice versa.

            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, 42 weeks, 3 days ago

                Development

                  Subcomponents

                    Structure Helper Panel