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

Moodle Cron issue with updated tag correlation table

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 1.9.10, 2.0
    • Component/s: Tags
    • Labels:
      None
    • Environment:
      Linux,PSQL,2.0 RC1 (Build: 20101020)
    • Database:
      PostgreSQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      When the Moodle cron is updating the tag_correlation table, it needs the id from the get_record query, otherwise you get this error :-

      Default exception handler: Coding error detected, it must be fixed by a programmer: moodle_database::update_record_raw() id field must be specified. Debug:

      • line 904 of /lib/dml/pgsql_native_moodle_database.php: coding_exception thrown
      • line 967 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->update_record_raw()
      • line 860 of /tag/lib.php: call to pgsql_native_moodle_database->update_record()
      • line 873 of /tag/lib.php: call to tag_compute_correlations()
      • line 313 of /lib/cronlib.php: call to tag_cron()
      • line 61 of /admin/cli/cron.php: call to cron_run()

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              tlock Tim Lock
              Tester:
              Nobody
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Oct/10