Activity log for bug #1970680

Date Who What changed Old value New value Message
2022-04-28 01:07:56 Gold bug added bug
2022-04-28 01:25:05 Kristina Hoeppner nominated for series mahara/21.04
2022-04-28 01:25:05 Kristina Hoeppner bug task added mahara/21.04
2022-04-28 01:25:05 Kristina Hoeppner nominated for series mahara/20.10
2022-04-28 01:25:05 Kristina Hoeppner bug task added mahara/20.10
2022-04-28 01:25:05 Kristina Hoeppner nominated for series mahara/22.04
2022-04-28 01:25:05 Kristina Hoeppner bug task added mahara/22.04
2022-04-28 01:25:05 Kristina Hoeppner nominated for series mahara/22.10
2022-04-28 01:25:05 Kristina Hoeppner bug task added mahara/22.10
2022-04-28 01:25:05 Kristina Hoeppner nominated for series mahara/21.10
2022-04-28 01:25:05 Kristina Hoeppner bug task added mahara/21.10
2022-04-28 01:25:16 Kristina Hoeppner mahara/22.10: status New Confirmed
2022-04-28 01:25:20 Kristina Hoeppner mahara/22.10: importance Undecided Critical
2022-04-28 01:25:22 Kristina Hoeppner mahara/21.10: status New Confirmed
2022-04-28 01:25:24 Kristina Hoeppner mahara/21.04: status New Confirmed
2022-04-28 01:25:26 Kristina Hoeppner mahara/20.10: status New Confirmed
2022-04-28 01:25:28 Kristina Hoeppner mahara/21.10: importance Undecided Critical
2022-04-28 01:25:30 Kristina Hoeppner mahara/21.04: importance Undecided Critical
2022-04-28 01:25:32 Kristina Hoeppner mahara/20.10: importance Undecided Critical
2022-04-28 01:25:39 Kristina Hoeppner mahara/22.10: milestone 22.10.0
2022-04-28 01:25:42 Kristina Hoeppner mahara/22.04: milestone 22.04.1
2022-04-28 01:25:46 Kristina Hoeppner mahara/21.10: milestone 21.10.3
2022-04-28 01:25:48 Kristina Hoeppner mahara/21.04: milestone 21.04.5
2022-04-28 01:35:45 Gold mahara/20.10: milestone 20.10.6
2022-04-28 01:51:26 Kristina Hoeppner description While upgrading a test site on Mahara 21.x that did not have LTI Advantage the upgrade fails. Tracked this to an upgrade step in htdocs/lib/db/upgrade.php This version resolved the issue: if ($oldversion < 2021042718) { $table = new XMLDBTable('lti_assessment'); if (table_exists($table)) { log_debug("Make sure groups associated with LTI assessment have 'submittableto' set to true"); execute_sql(" UPDATE {group} SET submittableto = 1 WHERE id IN ( SELECT foo.id FROM ( SELECT g1.id FROM {lti_assessment} l JOIN {group} g1 ON g1.id = l.group WHERE g1.submittableto = 0 ) AS foo )"); } } While upgrading a test site on Mahara 21.x that did not have LTI Advantage the upgrade fails. Tracked this to an upgrade step in htdocs/lib/db/upgrade.php This version resolved the issue:     if ($oldversion < 2021042718) {         $table = new XMLDBTable('lti_assessment');         if (table_exists($table)) {             log_debug("Make sure groups associated with LTI assessment have 'submittableto' set to true");             execute_sql("                 UPDATE {group}                 SET submittableto = 1                 WHERE id IN (                     SELECT foo.id FROM (                         SELECT g1.id                         FROM {lti_assessment} l                         JOIN {group} g1 ON g1.id = l.group                         WHERE g1.submittableto = 0                     ) AS foo                 )");         }     } Mitigation, if someone is in the middle of an update: Install the LTI Advantage module. You don't need to enable it, just install the code.
2022-04-28 02:09:02 Kristina Hoeppner mahara/22.10: status Confirmed In Progress
2022-04-28 02:46:34 Kristina Hoeppner description While upgrading a test site on Mahara 21.x that did not have LTI Advantage the upgrade fails. Tracked this to an upgrade step in htdocs/lib/db/upgrade.php This version resolved the issue:     if ($oldversion < 2021042718) {         $table = new XMLDBTable('lti_assessment');         if (table_exists($table)) {             log_debug("Make sure groups associated with LTI assessment have 'submittableto' set to true");             execute_sql("                 UPDATE {group}                 SET submittableto = 1                 WHERE id IN (                     SELECT foo.id FROM (                         SELECT g1.id                         FROM {lti_assessment} l                         JOIN {group} g1 ON g1.id = l.group                         WHERE g1.submittableto = 0                     ) AS foo                 )");         }     } Mitigation, if someone is in the middle of an update: Install the LTI Advantage module. You don't need to enable it, just install the code. While upgrading a test site on Mahara 21.x that did not have LTI Advantage the upgrade fails. Tracked this to an upgrade step in htdocs/lib/db/upgrade.php This version resolved the issue:     if ($oldversion < 2021042718) {         $table = new XMLDBTable('lti_assessment');         if (table_exists($table)) {             log_debug("Make sure groups associated with LTI assessment have 'submittableto' set to true");             execute_sql("                 UPDATE {group}                 SET submittableto = 1                 WHERE id IN (                     SELECT foo.id FROM (                         SELECT g1.id                         FROM {lti_assessment} l                         JOIN {group} g1 ON g1.id = l.group                         WHERE g1.submittableto = 0                     ) AS foo                 )");         }     } Mitigation, if someone is in the middle of an update: Install the LTI Advantage module.
2022-04-28 04:19:46 Robert Lyon summary Upgrade fails when LTI Advantage not installed Upgrade fails when LTI not installed
2022-04-28 04:20:19 Robert Lyon description While upgrading a test site on Mahara 21.x that did not have LTI Advantage the upgrade fails. Tracked this to an upgrade step in htdocs/lib/db/upgrade.php This version resolved the issue:     if ($oldversion < 2021042718) {         $table = new XMLDBTable('lti_assessment');         if (table_exists($table)) {             log_debug("Make sure groups associated with LTI assessment have 'submittableto' set to true");             execute_sql("                 UPDATE {group}                 SET submittableto = 1                 WHERE id IN (                     SELECT foo.id FROM (                         SELECT g1.id                         FROM {lti_assessment} l                         JOIN {group} g1 ON g1.id = l.group                         WHERE g1.submittableto = 0                     ) AS foo                 )");         }     } Mitigation, if someone is in the middle of an update: Install the LTI Advantage module. While upgrading a test site on Mahara 21.x that did not have LTI Advantage the upgrade fails. Tracked this to an upgrade step in htdocs/lib/db/upgrade.php This version resolved the issue:     if ($oldversion < 2021042718) {         $table = new XMLDBTable('lti_assessment');         if (table_exists($table)) {             log_debug("Make sure groups associated with LTI assessment have 'submittableto' set to true");             execute_sql("                 UPDATE {group}                 SET submittableto = 1                 WHERE id IN (                     SELECT foo.id FROM (                         SELECT g1.id                         FROM {lti_assessment} l                         JOIN {group} g1 ON g1.id = l.group                         WHERE g1.submittableto = 0                     ) AS foo                 )");         }     } Mitigation, if someone is in the middle of an update: Install the LTI module.
2022-04-28 04:21:09 Kristina Hoeppner description While upgrading a test site on Mahara 21.x that did not have LTI Advantage the upgrade fails. Tracked this to an upgrade step in htdocs/lib/db/upgrade.php This version resolved the issue:     if ($oldversion < 2021042718) {         $table = new XMLDBTable('lti_assessment');         if (table_exists($table)) {             log_debug("Make sure groups associated with LTI assessment have 'submittableto' set to true");             execute_sql("                 UPDATE {group}                 SET submittableto = 1                 WHERE id IN (                     SELECT foo.id FROM (                         SELECT g1.id                         FROM {lti_assessment} l                         JOIN {group} g1 ON g1.id = l.group                         WHERE g1.submittableto = 0                     ) AS foo                 )");         }     } Mitigation, if someone is in the middle of an update: Install the LTI module. While upgrading a test site on Mahara 21.x that did not have LTI (1.1) the upgrade fails. Tracked this to an upgrade step in htdocs/lib/db/upgrade.php This version resolved the issue:     if ($oldversion < 2021042718) {         $table = new XMLDBTable('lti_assessment');         if (table_exists($table)) {             log_debug("Make sure groups associated with LTI assessment have 'submittableto' set to true");             execute_sql("                 UPDATE {group}                 SET submittableto = 1                 WHERE id IN (                     SELECT foo.id FROM (                         SELECT g1.id                         FROM {lti_assessment} l                         JOIN {group} g1 ON g1.id = l.group                         WHERE g1.submittableto = 0                     ) AS foo                 )");         }     } Mitigation, if someone is in the middle of an update: Install the LTI module.
2022-04-28 22:46:34 Robert Lyon mahara/22.10: status In Progress Fix Committed
2022-04-29 01:52:00 Robert Lyon mahara/22.04: status Confirmed Fix Committed
2022-04-29 01:52:03 Robert Lyon mahara/21.10: status Confirmed Fix Committed
2022-04-29 01:52:40 Robert Lyon mahara/20.10: status Confirmed Fix Committed
2022-04-29 02:01:42 Robert Lyon mahara/21.04: status Confirmed Fix Committed
2022-05-02 01:45:34 Doris Tam mahara/21.10: status Fix Committed Fix Released
2022-05-02 02:22:19 Robert Lyon mahara/20.10: status Fix Committed Fix Released
2022-05-02 03:01:45 Gold mahara/22.04: status Fix Committed Fix Released
2022-05-02 05:04:24 Kristina Hoeppner mahara/21.04: status Fix Committed Fix Released
2022-11-01 00:41:54 Doris Tam mahara/22.10: status Fix Committed Fix Released