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

Resource files unable to be served due to update.

XMLWordPrintable

    • 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

            Unassigned Unassigned
            JamesVoong James Voong
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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