-
Bug
-
Resolution: Fixed
-
Major
-
3.11.11, 4.0.5
-
Oracle
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
Caught during QA cycle, and reported at MDLQA-16982
enrol_lti
|
|
Error reading from database
|
|
More information about this error
|
Debug info: ORA-00932: inconsistent datatypes: expected - got CLOB
|
SELECT lu.id, lc.secret
|
FROM m_enrol_lti_users lu
|
JOIN m_enrol_lti_lti2_consumer lc
|
ON (lu.consumerkey = lc.consumerkey256)
|
WHERE lc.ltiversion = :o_ltiversion
|
AND lu.consumersecret != lc.secret
|
AND lu.lastaccess IS NOT NULL
|
[array (
|
'o_ltiversion' => 'LTI-2p0',
|
)]
|
Error code: dmlreadexception
|
Stack trace:
|
|
line 494 of /lib/dml/moodle_database.php: dml_read_exception thrown
|
line 277 of /lib/dml/oci_native_moodle_database.php: call to moodle_database->query_end()
|
line 1134 of /lib/dml/oci_native_moodle_database.php: call to oci_native_moodle_database->query_end()
|
line 476 of /enrol/lti/db/upgrade.php: call to oci_native_moodle_database->get_recordset_sql()
|
line 784 of /lib/upgradelib.php: call to xmldb_enrol_lti_upgrade()
|
line 1952 of /lib/upgradelib.php: call to upgrade_plugins()
|
line 721 of /admin/index.php: call to upgrade_noncore()
|
Appears to be a regression from MDL-76113 (the step from MDL-76170 also looks like it'll fail on the same text lu.consumer[key|secret] field comparisons):
Debug info: ORA-00932: inconsistent datatypes: expected - got CLOB
|
SELECT lu.id, lc.secret
|
FROM m_enrol_lti_users lu
|
JOIN m_enrol_lti_lti2_consumer lc
|
ON (lu.consumerkey = lc.consumerkey256)
|
WHERE lu.consumersecret IS NULL
|
AND lu.lastaccess IS NOT NULL
|
[array (
|
)]
|
Error code: dmlreadexception Stack trace:
|
|
line 494 of /lib/dml/moodle_database.php: dml_read_exception thrown
|
line 277 of /lib/dml/oci_native_moodle_database.php: call to moodle_database->query_end()
|
line 1134 of /lib/dml/oci_native_moodle_database.php: call to oci_native_moodle_database->query_end()
|
line 497 of /enrol/lti/db/upgrade.php: call to oci_native_moodle_database->get_recordset_sql()
|
line 784 of /lib/upgradelib.php: call to xmldb_enrol_lti_upgrade()
|
line 1952 of /lib/upgradelib.php: call to upgrade_plugins()
|
line 721 of /admin/index.php: call to upgrade_noncore()
|
- blocks
-
MDLQA-16982 CLONE - Upgrade test from previous version of Moodle on Oracle with Apache
- Passed