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

anger restoring moodle features demo (gradebook)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 1.9, 2.0
    • Component/s: Gradebook
    • Labels:
      None
    • Database:
      PostgreSQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      not sure if this is the same on 1.9, I noticed on HEAD. Marking as fix in 1.9 just incase (I'll check there too)

      1. Creating gradebook
      • Grade categories

      Notice: Undefined index: PARENT in /var/www/moodle/moodlehead/backup/restorelib.php on line 1348
      ERROR: invalid input syntax for integer: ""

      SELECT * FROM mdl_backup_ids WHERE backup_code = '1196992514' AND table_name = 'grade_categories' AND old_id = ''
      o line 686 of lib/dmllib.php: call to debugging()
      o line 481 of lib/dmllib.php: call to get_recordset_sql()
      o line 421 of lib/dmllib.php: call to get_record_sql()
      o line 518 of backup/lib.php: call to get_record()
      o line 1348 of backup/restorelib.php: call to backup_getid()
      o line 7245 of backup/restorelib.php: call to restore_create_gradebook()
      o line 47 of backup/restore_execute.html: call to restore_execute()
      o line 168 of backup/restore.php: call to include_once()

      Notice: Undefined index: FULLNAME in /var/www/moodle/moodlehead/backup/restorelib.php on line 1357

      Notice: Undefined index: AGGREGATION in /var/www/moodle/moodlehead/backup/restorelib.php on line 1358

      Notice: Undefined index: KEEPHIGH in /var/www/moodle/moodlehead/backup/restorelib.php on line 1359

      Notice: Undefined index: DROPLOW in /var/www/moodle/moodlehead/backup/restorelib.php on line 1360

      Notice: Undefined index: AGGREGATEONLYGRADED in /var/www/moodle/moodlehead/backup/restorelib.php on line 1361

      Notice: Undefined index: AGGREGATEOUTCOMES in /var/www/moodle/moodlehead/backup/restorelib.php on line 1362

      Notice: Undefined index: AGGREGATESUBCATS in /var/www/moodle/moodlehead/backup/restorelib.php on line 1363

      Notice: Undefined index: TIMECREATED in /var/www/moodle/moodlehead/backup/restorelib.php on line 1364

      Notice: Undefined index: TIMEMODIFIED in /var/www/moodle/moodlehead/backup/restorelib.php on line 1365
      ERROR: invalid input syntax for integer: ""

      UPDATE mdl_grade_categories SET courseid = '2', parent = '1', depth = '3', path = '/1/2/', fullname = '', aggregation = '', keephigh = '', droplow = '', timecreated = '', timemodified = '', aggregateoutcomes = '', aggregatesubcats = '', aggregateonlygraded = '' WHERE id = '2'
      o line 1686 of lib/dmllib.php: call to debugging()
      o line 1383 of backup/restorelib.php: call to update_record()
      o line 7245 of backup/restorelib.php: call to restore_create_gradebook()
      o line 47 of backup/restore_execute.html: call to restore_execute()
      o line 168 of backup/restore.php: call to include_once()
      .

      1. Creating blocks

        Attachments

          Activity

            People

            Assignee:
            lazyfish Yu Zhang
            Reporter:
            mjollnir Penny Leach
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08