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

Error in SCORM when $CFG->alternative_file_system_class is in use

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.3.5
    • SCORM
    • MOODLE_403_STABLE

      Description:

      When we use the $CFG->alternative_file_system_class configuration to set an alternative file system, the SCORM module presents an error. The issue occurs because the zip_packer class receives the URL of the remote storage instead of the local file path. This prevents the SCORM from functioning correctly, as it cannot unzip the remotely stored packages.

      Steps to Reproduce:

      1. Configure Moodle to use an alternative file system with $CFG->alternative_file_system_class.
      2. Attempt to upload a SCORM package in Moodle.
      3. Notice that the SCORM fails when trying to unzip the package.

      https://github.com/moodle/moodle/blob/main/lib/filestorage/zip_packer.php#L605 

            Unassigned Unassigned
            eduardokraus Eduardo Kraus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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