-
Notifications
You must be signed in to change notification settings - Fork 72
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
Getting an error when accessing a file with size 0 bytes #609
Comments
guillogo
added a commit
to guillogo/moodle-tool_objectfs
that referenced
this issue
May 23, 2024
Just hit same issue with one of the scorm packages that needs to access some empty file |
petersistrom
added a commit
that referenced
this issue
Sep 2, 2024
Issue #609: When a file size is 0 bytes do not mark it as location error
Resolved by #612 |
petersistrom
pushed a commit
that referenced
this issue
Sep 2, 2024
petersistrom
pushed a commit
that referenced
this issue
Sep 2, 2024
petersistrom
pushed a commit
that referenced
this issue
Sep 2, 2024
dmitriim
added a commit
that referenced
this issue
Sep 2, 2024
Issue #609: When a file size is 0 bytes do not mark it as location error
dmitriim
added a commit
that referenced
this issue
Sep 2, 2024
Issue #609: When a file size is 0 bytes do not mark it as location error
dmitriim
added a commit
that referenced
this issue
Sep 2, 2024
Issue #609: When a file size is 0 bytes do not mark it as location error
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all,
I am facing an issue when using objectfs and uploading a file of 0 bytes to Moodle. Whenever I try to access the file, I get an error message. I understand it may sound strange to upload an empty file, but some scorms unfortunately contain references to such files.
Here are the steps to replicate the issue:
The above steps simulate uploading a SCORM file with a 0-byte file init and referenced.
The error occurs because the file has 0 bytes. The
Minimum size threshold (bytes)
setting is set to 0.I am wondering if this is intentional. The file can be accessed/downloaded without issues when objectfs is not used, though.
Thank you!
The text was updated successfully, but these errors were encountered: