-
Edward Hicks authored
Replace hook_file_validate with an event subscriber that truncates filenames before Drupal moves the uploaded file. The previous approach moved the temp file during validation, which desynced from the upload handler and caused "Could not move uploaded file" errors. Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
Edward Hicks authoredReplace hook_file_validate with an event subscriber that truncates filenames before Drupal moves the uploaded file. The previous approach moved the temp file during validation, which desynced from the upload handler and caused "Could not move uploaded file" errors. Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
Loading