Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.7.10, 2.8.8, 2.9.2
-
Component/s: Database activity module, Ratings
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
Fixed Branches:MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-
MDL-51486-master -
Pull Master Diff URL:
Description
Message from Sam:
Hi guys,
Just sharing it looks like this introduced a wee regression in the database module.
Set up so that ratings can be viewed by students
Add an entry as an admin (or just priviledged non grouped user)
Rate as a student of group 1
Rate as a student of group 2
Verify the rating link has (2) in brackets
Click the link (still as student2)
The dialog displays and you get a permission error.
Prior to this you saw the two ratings.
You do not have the capability to view item ratings
More information about this error
Debug info:
Error code: noviewrate
Stack trace:
line 481 of /lib/setuplib.php: moodle_exception thrown
line 65 of /rating/index.php: call to print_error()
Reproduced in 2.7, and 2.9.