-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
3.3.5
-
MOODLE_33_STABLE
We have existing courses with filenames longer than 90 characters and these resources are no longer able to be served. Resource files in courses with filenames longer than 90 characters are now unable to be served correctly due to this change:
https://tracker.moodle.org/browse/MDL-60398
The change trims filenames to 90 characters, causing the hash to be changed. Then the hash doesn't match the one in the database and it is unable to serve the files.
Steps to reproduce:
1. On a 3.3 before 3.3.5, upload a file with at least 100 characters in the name using the mod_folder plugin.
2. Upgrade to 3.3.5
3. Observe that clicking on the file causes a file not found error to be thrown, even though the mdl_file record exists and the file exists on disk
- duplicates
-
MDL-61724 Unable to download resources of type "File" with name of 90+ bytes
-
- Closed
-