- Issue created by @cgmonroe
- Status changed to Needs review
over 2 years ago 5:38pm 6 February 2023 The last submitted patch, 2: filefield_paths-call_isEmpty_on_null-3339688-2.patch, failed testing. View results β
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.- πΊπΈUnited States cgmonroe
Hmm, not sure why the token test failed. Trying a different variation that just skips setting the name if the originame parameter does not exist.
- last update
11 months ago 12 pass, 2 fail - π¨πSwitzerland megadesk3000
Hi togethter
I had the same error when creating a new media image via the backend ui on /media/add/image, after i installed filefield_paths module.
For me it was the case, that $file->filename was not present and therefore the same error came up.I adjusted the patch slighty and now it works in my case.
Added a patch and an interdiff.
The last submitted patch, 5: filefield_paths-call_isEmpty_on_null-3339688-5.patch, failed testing. View results β
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.- πΊπΈUnited States pwolanin
We suddenly started getting this error - trying to track down why, maybe something wrong will file system permissions. It solved the issue enough to get things working and is clearly a pretty safe change
- Merge request !35Issue #3339688 defend against fatal error in hook_file_presave() β (Open) created by pwolanin