-
Bug
-
Resolution: Fixed
-
Major
-
3.0.5, 3.1.3
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MDL-57296-master -
-
3.3 sprint 2
When collapsing grade categories in the grader report in Moodle 3.0 as a teacher without 'moodle/grade:viewhidden' capability the following error shows:
Incorrect size of arrays in params of grade_grade::get_hiding_affected()!
This stops the user from being able to uncollapse the categories to fix the issue since the report does not show when that error appears.
I see the following record in mdl_user_preferences when it happens:
id userid name value
13332 68776 grade_report_grader_collapsed_categories75
Clearing out the value for that record allows the grader report to load again for that user.
Please also see this forum discussion in regards to other reports and possible workarounds/solutions: https://moodle.org/mod/forum/discuss.php?d=331991
- has been marked as being related by
-
MDL-52218 PHP errors when minimising grader report without capability 'moodle/grade:viewhidden'
-
- Closed
-