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

AICC - error reported when editing AICC package

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.3
    • 2.1.2, 2.2
    • SCORM
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE
    • master_MDL-30223
    • Hide

      There's no easy way to reproduce this error - I haven't been able to reproduce it using the AICC packages I have - but I received an e-mail with the report from a user and I can see the code is wrong. - so here's the patch!

      I guess the only thing that can be done is test the updating of a SCORM AICC package...

      eg grab a copy of the AICC package from:
      http://tracker.moodle.org/browse/MDL-27036
      Add this to your page, then go back and edit it again and resave - check to make sure no errors appear in the apache error log or on screen

      Show
      There's no easy way to reproduce this error - I haven't been able to reproduce it using the AICC packages I have - but I received an e-mail with the report from a user and I can see the code is wrong. - so here's the patch! I guess the only thing that can be done is test the updating of a SCORM AICC package... eg grab a copy of the AICC package from: http://tracker.moodle.org/browse/MDL-27036 Add this to your page, then go back and edit it again and resave - check to make sure no errors appear in the apache error log or on screen

      When editing an existing SCORM AICC package:
      Coding error detected, it must be fixed by a programmer: moodle_database::update_record_raw() id field must be specified.
      Stack trace:
      • line 975 of /lib/dml/mysqli_native_moodle_database.php: coding_exception thrown
      • line 1031 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->update_record_raw()
      • line 240 of /mod/scorm/datamodels/aicclib.php: call to mysqli_native_moodle_database->update_record()
      • line 231 of /mod/scorm/locallib.php: call to scorm_parse_aicc()
      • line 207 of /mod/scorm/lib.php: call to scorm_parse()
      • line 327 of /course/modedit.php: call to scorm_update_instance()

            danmarsden Dan Marsden
            danmarsden Dan Marsden
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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