Activity log for bug #2002924

Date Who What changed Old value New value Message
2023-01-15 23:50:21 Robert Lyon bug added bug
2023-01-15 23:50:27 Robert Lyon mahara: status New Confirmed
2023-01-15 23:50:30 Robert Lyon mahara: milestone 23.04.0
2023-01-15 23:50:32 Robert Lyon mahara: importance Undecided High
2023-01-15 23:51:11 Robert Lyon description For certain blocks there is the ability to set the 'count' (pagination limit) and if one sets it to a non integer value it causes the error: [DivisionByZeroError]: Modulo by zero We need to set a rule for the field so that it can only be an integer, eg 'rules' => array('integer' => true, 'minvalue' => 1, 'maxvalue' => 100), To test: 1) Create a plan 2) create some tasks 3) Edit a page and add plan block to page view page - all is fine 4) Edit the plan block and set 'count' to 'none' On save - things hang On page reload - see error For certain blocks there is the ability to set the 'count' (pagination limit) and if one sets it to a non integer value it causes the error:  [DivisionByZeroError]: Modulo by zero We need to set a rule for the field so that it can only be an integer, eg   'rules' => array('integer' => true, 'minvalue' => 1, 'maxvalue' => 100), To test: 1) Create a plan 2) create some tasks 3) Edit a page and add plan block to page view page - all is fine 4) Edit the plan block and set 'count' to 'none' On save - things hang On page reload - see error Can't edit page to fix problem so will mark this bug as high
2023-01-16 21:58:37 Kristina Hoeppner mahara: status Confirmed In Progress
2023-01-16 22:05:11 Kristina Hoeppner mahara: importance High Medium
2023-01-17 03:07:55 Robert Lyon mahara: status In Progress Fix Committed
2023-04-30 23:28:13 Robert Lyon mahara: status Fix Committed Fix Released