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.

Comments

ultimateboy’s picture

StatusFileSize
new740 bytes

Helps if I patch the right thing...

drewish’s picture

Status: Needs review » Needs work

need to fix the watchdog message above it as well, it's got 'imagefield' in there too.

ultimateboy’s picture

Status: Needs work » Needs review
StatusFileSize
new838 bytes

Ha.. dont know how I missed that.

drewish’s picture

Title: File upload failed says "Image upload failed" » Imagefield mentioned in watchdog message.
StatusFileSize
new1.76 KB

actually looks like you rolled this against an old version of the module... the message has changed but the watchdog message still has imagefield...

dopry’s picture

Status: Needs review » Fixed

committed to HEAD, tnx.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.