I just tried to upgrade our development installation (2.4.3) to the current 2.5 beta. During the upgrade process I get the following error:
Error writing to database
Debug info: ORA-00904: "MOODLELIB"."UNDO_MEGA_HACK": invalid identifier
UPDATE m_context
SET depth = 2,
path = MOODLELIB.UNDO_MEGA_HACK(MOODLELIB.TRICONCAT(:o_param1, id, ' '))
WHERE contextlevel = 30
AND (depth = 0 OR path IS NULL)
[array (
'o_param1' => '/1/',
)]
Error code: dmlwriteexception
Stack trace:
line 426 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 272 of /lib/dml/oci_native_moodle_database.php: call to moodle_database->query_end()
line 1024 of /lib/dml/oci_native_moodle_database.php: call to oci_native_moodle_database->query_end()
line 6229 of /lib/accesslib.php: call to oci_native_moodle_database->execute()
line 5690 of /lib/accesslib.php: call to context_user::build_paths()
line 1563 of /lib/upgradelib.php: call to context_helper::build_all_paths()
line 314 of /admin/index.php: call to upgrade_core()
Is that a bug or am I doing something wrong?