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

Users Without Permission to View Poll Question Generate Errors in Logs

    Details

      Description

      Description:
      Users without permission to view a poll question generates errors in the log file. Not being able to view the poll is expected behavior, but the portlet container should not show an error and exceptions shouldn't be thrown in the console.

      Steps to Reproduce:
      1. Create a site and add Polls Display portlet to a page
      2. Create a poll question
      3. Set the permission of the Polls Display portlet to be that User has "View" permission, Site Member has "View" permission
      4. Set the permission of the actual poll question to be that User has no permissions, Site Member has "View" permission, Guest does not have "View" permissions
      5. Log in as a User (not a Site Member) and navigate to the site/page with the Polls Display portlet on it by copying and pasting in the URL from the site/page

      Expected Results:
      Cannot see the portlet or the poll question, no errors in log

      Actual Results:
      User cannot see poll question, but can see the portlet and errors are sent to log

      Branch: Reproduced (2a3e7afc11e1192ea2a9fc6d88e115c2cf3cac01)
      Master: Reproduced (9bab795e9c8d561ec2c96c45534e0b62d838ce00)

        Attachments

          Activity

            People

            Assignee:
            hong.zhao Hong Zhao (Inactive)
            Reporter:
            joshua.cords Joshua Cords
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 14 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 DXP FP52
                7.0.0 DXP SP9
                7.0.X
                7.1.X
                Master