Activity log for bug #2012419

Date Who What changed Old value New value Message
2023-03-21 17:49:26 Laurent bug added bug
2023-03-21 18:01:30 Laurent description To reproduce the issue, setup a new Mahara install (22.10.0 STABLE). * Create 2 users Student and Teacher * Create an institution * Add the two users in the institution * Add a new group (Group 1) - With the 3 roles (Tutor, Member, Admin) * Add Student as Member of Group 1 and Teacher as Tutor in Group 1 * As Student create a page and submit it for review in Group 1 * As Teacher release the Page From this point an error will be displayed and the page will never be released and will be marked as "Pending release after archiving." The Error displayed is: Failed to get a recordset: mysqli error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? LIMIT 1' at line 1] in EXECUTE("SELECT * FROM "lti_assessment" WHERE "group" = ? LIMIT 1")Command was: SELECT * FROM "lti_assessment" WHERE "group" = ? ... When examining the issue with a debugger it seems that group_external_group($group) is called with an integer instead of a string, so it means that record_exists('lti_assessment', 'group', $group->id) is called with the wrong value (as $group->id does not exist). To reproduce the issue, setup a new Mahara install (22.10.0 STABLE, Mysql). * Create 2 users Student and Teacher * Create an institution * Add the two users in the institution * Add a new group (Group 1) - With the 3 roles (Tutor, Member, Admin) * Add Student as Member of Group 1 and Teacher as Tutor in Group 1 * As Student create a page and submit it for review in Group 1 * As Teacher release the Page From this point an error will be displayed and the page will never be released and will be marked as "Pending release after archiving." The Error displayed is: Failed to get a recordset: mysqli error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? LIMIT 1' at line 1] in EXECUTE("SELECT * FROM "lti_assessment" WHERE "group" = ? LIMIT 1")Command was: SELECT * FROM "lti_assessment" WHERE "group" = ? ... When examining the issue with a debugger it seems that group_external_group($group) is called with an integer instead of a string, so it means that record_exists('lti_assessment', 'group', $group->id) is called with the wrong value (as $group->id does not exist).
2023-03-23 01:28:47 Kristina Hoeppner summary Error releasing submissions - Mahara 22.10.0 Error releasing submissions
2023-03-23 01:28:56 Kristina Hoeppner nominated for series mahara/22.10
2023-03-23 01:28:56 Kristina Hoeppner bug task added mahara/22.10
2023-03-23 01:28:56 Kristina Hoeppner nominated for series mahara/23.04
2023-03-23 01:28:56 Kristina Hoeppner bug task added mahara/23.04
2023-03-23 01:29:02 Kristina Hoeppner mahara/23.04: status New Confirmed
2023-03-23 01:29:06 Kristina Hoeppner mahara/22.10: status New In Progress
2023-03-23 01:29:09 Kristina Hoeppner mahara/23.04: importance Undecided High
2023-03-23 01:29:11 Kristina Hoeppner mahara/22.10: importance Undecided High
2023-03-23 01:29:13 Kristina Hoeppner mahara/23.04: milestone 23.04.0
2023-03-23 01:29:15 Kristina Hoeppner mahara/22.10: milestone 22.10.1
2023-03-27 00:41:24 Robert Lyon mahara/23.04: status Confirmed Fix Committed
2023-03-27 00:41:47 Robert Lyon mahara/22.10: status In Progress Fix Committed
2023-04-30 23:25:17 Robert Lyon mahara: milestone 23.04.0
2023-04-30 23:25:20 Robert Lyon mahara/23.04: status Fix Committed Fix Released
2023-05-01 01:35:35 Robert Lyon mahara: status Fix Committed Fix Released
2023-05-01 01:35:37 Robert Lyon mahara/22.10: status Fix Committed Fix Released
2023-05-15 01:57:11 Kristina Hoeppner bug task deleted mahara