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

Error when saving a SCORM activity

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.3.3
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide

      Enable completion under site-wide advanced settings
      Create a new course, enable completion
      Add a scorm object to course
      Attempt scorm object
      View scorm object again and select "Delete all SCORM attempts", and the confirm

      Expected:
      Attempts deleted

      What happens:
      Fatal error occurs

      Show
      Enable completion under site-wide advanced settings Create a new course, enable completion Add a scorm object to course Attempt scorm object View scorm object again and select "Delete all SCORM attempts", and the confirm Expected: Attempts deleted What happens: Fatal error occurs
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:

      Description

      When saving any SCORM activity:

      Strict Standards: Non-static method completion_info::is_enabled() should not be called statically in /home/jknight1/html/moodle2/mod/scorm/lib.php on line 1331
      Fatal error: Using $this when not in object context in <moodle_dir>/lib/completionlib.php on line 225

      Using Moodle 2.3.2+ (Build: 20121014)

      Looks like it was introduced by MDL-35227

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  2 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Nov/12