-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, Master
-
Fix Version/s: 7.0.0 DXP FP52, 7.0.0 DXP SP9, 7.0.X, 7.1.X, Master
-
Component/s: Polls
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
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)