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

Index returns incorrect role permissions for Bookmarks

    Details

      Description

      Steps

      1. Start Liferay and login as admin
      2. Go to Admin > Control Panel > Users > Roles
      3. Create four regular roles, each with a description the same as its name:
        • Test Role 1
        • Test Role 2
        • Test Role 3
        • Test Role 4
      4. Go to Admin > Site Administration > Content > Bookmarks
      5. Create four bookmarks, each with a description the same as its name:
        • Test Bookmark 1
        • Test Bookmark 2
        • Test Bookmark 3
        • Test Bookmark 4
      6. Add VIEW permission to Test Bookmark 1 for Test Role 1
      7. Add VIEW permission to Test Bookmark 2 for Test Role 1 and Test Role 2
      8. Add VIEW permission to Test Bookmark 3 for Test Role 1, Test Role 2 and Test Role 3
      9. Add VIEW permission to Test Bookmark 4 for Test Role 1, Test Role 2, Test Role 3 and Test Role 4
      10. Deploy the attached portlet and review the console output
      11. Go to Admin > Control Panel > System Administration > Reindex all search indexes
      12. Go back to the page with the deployed portlet and review the console output to see that it is more incorrect than before

      Expected
      The portlet outputs to the console the correct view permissions for each bookmark
      Actual
      The portlet outputs to the console the wrong view permissions for each bookmark

        Attachments

        1. fixed.png
          fixed.png
          23 kB
        2. liferay.2015-07-29.log
          22 kB
        3. reproduced.png
          reproduced.png
          21 kB
        4. test-portlet-trunk.war
          23 kB

          Issue Links

            Activity

              People

              Assignee:
              beck.liu Beck Liu
              Reporter:
              preston.crary Preston Crary
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M6