If I don't enable any sources, the module still expects an existing and/or writable attach path. I didn't want to use filefield_sources for this particular field. However, saving the form causes drupal to display the validation error:
"Specified file attach path must exist or be writable."
To avoid this error I had to delete the default value. Another option would have been to just disable and uninstall the module.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | filefield_sources_attach_validate-d6.patch | 584 bytes | quicksketch |
| #1 | filefield_sources_attach_validate-d7.patch | 652 bytes | quicksketch |
| file_attach_warning-1.jpg | 96 KB | dkingofpa |
Comments
Comment #1
quicksketchThanks, I fixed this issue with this pair of patches which skips validation if the "attach" option isn't enabled.