- Issue created by @demmodann
- πΊπΈUnited States bakulahluwalia Houston
Solution listed in the description fixes the error but file replacement feature is not working at all anymore. I added the patch for the same.
Patch β - First commit to issue fork.
- Merge request !4Fixed issue with file_validate_extensions, now using '' instead of [] to allow the usage all extensions β (Open) created by rigoucr
- Status changed to Needs review
6 months ago 5:58pm 19 May 2024 - π¨π·Costa Rica rigoucr
I'm Providing a Merge request with a fix to this issue, it is basically replacing the [] empty array with empty string '' for the file_validate_extensions parameter over the file_save_upload fucntion, this will ensure that the module keep working as expected in drupal 10.2 + versions and this was caused be this core issue: https://www.drupal.org/project/drupal/issues/3420802 π file_save_upload broken by 10.2.x Needs work
you can get the patch file directly from the merge request: https://git.drupalcode.org/project/file_management/-/merge_requests/4.patch