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.
Just a simple change to alter the error message presented to the user. Watchdog is getting the correct message "file upload failed" but the user is presented with "image upload failed" even though the widget is set to file upload.
Comment | File | Size | Author |
---|---|---|---|
#4 | filefield_330630.patch | 1.76 KB | drewish |
#3 | filefield-330630-3.patch | 838 bytes | ultimateboy |
#1 | filefield-1.patch | 740 bytes | ultimateboy |
filefield-image-error-message.patch | 1.14 KB | ultimateboy |
Comments
Comment #1
ultimateboy CreditAttribution: ultimateboy commentedHelps if I patch the right thing...
Comment #2
drewish CreditAttribution: drewish commentedneed to fix the watchdog message above it as well, it's got 'imagefield' in there too.
Comment #3
ultimateboy CreditAttribution: ultimateboy commentedHa.. dont know how I missed that.
Comment #4
drewish CreditAttribution: drewish commentedactually looks like you rolled this against an old version of the module... the message has changed but the watchdog message still has imagefield...
Comment #5
dopry CreditAttribution: dopry commentedcommitted to HEAD, tnx.