Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download wrapper requires Moodle 3.11 #43

Open
leonstr opened this issue Apr 28, 2023 · 1 comment
Open

Download wrapper requires Moodle 3.11 #43

leonstr opened this issue Apr 28, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@leonstr
Copy link
Contributor

leonstr commented Apr 28, 2023

Version information says mod_scormremote supports Moodle 3.9 to 4.0. But mod_scormremote\packagefile->download_wrapper() uses core_files\archive_writer which was introduced in Moodle 3.11 (MDL-68533).

Consequently clicking the Download button on mod/scormremote/wrapper.php?cmid=<ID> with Moodle 3.9 results in:

Exception - Class 'core_files\archive_writer' not found

More information about this error
Debug info:
Error code: generalexceptionmessage
Stack trace:

    line 139 of /mod/scormremote/classes/packagefile.php: Error thrown
    line 92 of /mod/scormremote/wrapper.php: call to mod_scormremote\packagefile::download_wrapper()
@brendanheywood brendanheywood added the bug Something isn't working label Aug 8, 2023
@andrewhancox
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants