-
Bug
-
Resolution: Fixed
-
Major
-
2.7
-
MOODLE_27_STABLE
-
MOODLE_27_STABLE
-
MDL-47378-master -
- view the list of submissions for a mod_assign activity
- select the 'All' option for the 'Assignments per page' setting
- VERIFY:all submissions are listed in the table without debug output
The MDL-43395 item, introduced a check to ensure the limit param is an integer.
The grading table uses a perpage preference stored in the DB which is retrieved as a string. When the user selects the 'All' option for the 'Assignments per page' settings a string '-1' is used rather than an int -1 which causes the debugging message from MDL-43395 to be displayed.
STEPS TO REPLICATE
- view the list of submissions for a mod_assign activity
- select the 'All' option for the 'Assignments per page' setting
WHAT IS EXPECTED:
- all submissions are listed in the table without debug output
WHAT ACTUALLY HAPPENS
- all submissions are listed in the table with debug output