-
Bug
-
Resolution: Fixed
-
Minor
-
4.1, 4.2, 4.3
-
MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
-
MOODLE_402_STABLE, MOODLE_403_STABLE
-
MDL-76719-403 -
-
3
In an assignment, when you filter and choose "evaluate", you get an error message "userisfilteredout".
When the filter is activated, the current user is not chosen among those filtered, which causes the error.
STEPS TO REPRODUCE
- Have an assignment with participants, some of whom submitted a work and all of them are graded.
- Choose "View all submissions".
- The filter in the footer is at "no filter".
- Set the filter to "Requires grading" and wait until the automatic page reload is done.
- Choose "Back" at the top of the page.
- Then choose "Grade".
- The message "userisfilterout" is displayed.
userisfilteredout
|
This user does not match filters and table preferences!
|
File: /mod/assign/externallib.php
|
Line: 2852
|
Stack trace:
|
|
Error code: userisfilteredout
|
* line 2852 of /mod/assign/externallib.php: moodle_exception thrown
|
* line 261 of /lib/externallib.php: call to mod_assign_external::get_participant()
|
* line 81 of /lib/ajax/service.php: call to external_api::call_external_function()
|
This works also with other filters returning no result e.g. in https://qa.moodledemo.net/mod/assign/view.php?id=1011 when filtering for "requires grading" (because there is no submission there yet) and trying to grade.
- Discovered while testing
-
MDL-69497 Filtering in grader fails if user does not have moodle/user:editownprofile capability
- Closed
- has a non-specific relationship to
-
MDL-74234 Implement 'treset' parameter on the assignment grading page
- Closed
- has been marked as being related by
-
MDL-72730 Assignment grader sort issues
- Open
-
MDL-76801 Assignment grader exhibits strange behavior when user filters reach 0 remaining users
- Open
- will help resolve
-
MDL-80709 Assignment Grader Filter Errors
- Open