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

Mentioning a user from a page they cannot access results in a broken link

Details

    Description

      Steps to reproduce

      1. Start a clean bundle
      2. Login as admin
      3. Go to [Global site > Web Content]
      4. Create any random Basic Web Content
      5. Go to [CP > Sites > Site Template]
      6. Create a new template
      7. Add an Asset Publisher to the page and configure it to:
        • Asset Selection > Scope: Global
        • Display Settings > ENABLE > Comments: ON
      8. Go to [CP > Users and Organizations]
      9. Create 2 users (user1 and user2)
      10. For each user, in Profile and Dashboard, set the created template for Dashboard
      11. Login as user1
      12. Go to [User icon > My Dashboard]
      13. Add a new comment to the web content and mention @user2
      14. Login as user2
      15. Note there is 1 notification
      16. Go to [User icon > Notifications]
      17. Click on the notification

      Actual results
      Page is not found.
      From the URL note that it is trying to access the dashboard of User1 (which is private)

      Expected results
      System does not allow to mention users if they could not access the page.

      Attachments

        Activity

          People

            beck.liu Beck Liu
            roberto.diaz Roberto Díaz
            Kiyoshi Lee Kiyoshi Lee
            To To Trinh To To Trinh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 1 week ago

              Packages

                Version Package
                7.2.10 DXP FP17
                7.2.10.6 DXP SP6
                7.2.X
                7.3.X
                7.4.3.5 CE GA5
                7.4.13 DXP U1
                Master