-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.3.5
-
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:
- Configure Moodle to use an alternative file system with $CFG->alternative_file_system_class.
- Attempt to upload a SCORM package in Moodle.
- Notice that the SCORM fails when trying to unzip the package.
https://github.com/moodle/moodle/blob/main/lib/filestorage/zip_packer.php#L605