Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38968

Upgrade from 2.4 ->2.5 failing on oracle with the DIRTY HACK!

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Critical Critical
    • None
    • 2.5
    • Database SQL/XMLDB
    • None
    • MOODLE_25_STABLE

      Debug info: ORA-00904: "MOODLELIB"."DIRTY_HACK": invalid identifier
      UPDATE ocontext
      SET depth = 2,
      path = MOODLELIB.DIRTY_HACK(:o_param1 || id) 
      WHERE contextlevel = 30
      AND (depth = 0 OR path IS NULL)
      [array (
      'o_param1' => '/1/',
      )]
      Error code: dmlwriteexception
      Stack trace:
      line 429 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 1015 of /lib/dml/oci_native_moodle_database.php: call to oci_native_moodle_database->query_end()
      line 6220 of /lib/accesslib.php: call to oci_native_moodle_database->execute()
      line 5681 of /lib/accesslib.php: call to context_user::build_paths()
      line 1553 of /lib/upgradelib.php: call to context_helper::build_all_paths()
      line 292 of /admin/index.php: call to upgrade_core()
      

            skodak Petr Skoda
            poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.