Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.7
-
Fix Version/s: 2.7.3
-
Component/s: Assignment
-
Testing Instructions:
- 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
-
Affected Branches:MOODLE_27_STABLE
-
Fixed Branches:MOODLE_27_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-47378-master -
Pull Master Diff URL:
Description
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