Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The error message "Specified file attach path must exist or be writable," is too imprecise, especially if multiple filefield attach fields exist on a form. The attached patch injects the problematic path into the error message.
Comment | File | Size | Author |
---|---|---|---|
filefield_path_in_error_message.patch | 1.02 KB | jonathan_hunt | |
Comments
Comment #1
DamienMcKennaPlease don't forget to set the status to "needs review" when you upload a patch :)
Seems simple enough, worth considering for the next release.
Comment #3
profak CreditAttribution: profak as a volunteer commentedThank you Jonathan!
I tested patch - works and applied it to 7.x-1.x.
Comment #4
profak CreditAttribution: profak as a volunteer commentedIn 7.x-1.10.