Needs work
Project:
Sweaver
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2010 at 20:41 UTC
Updated:
9 Jan 2013 at 10:01 UTC
If you try to upload an image without filling in the description field, the upload will fail without telling you why. It would be a good idea to make the description field required so this doesn't happen.
Comments
Comment #1
swentel commentedBetter descriptions are now provided:
Empty description: You need to enter a description for the image.
Empty image: The image is empty.
Image with errors (eg wrong extension): The image is invalid. Only JPG, PNG and GIF images are allowed.
Comment #3
mrharolda commentedAfter uploading a PNG file, I get the error "The image is invalid. Only JPG, PNG and GIF images are allowed." which didn't help me discovering public://sweaver wasn't writable ;)
Sweaver has the same error message for all errors:
I suggest changing that to:
(sorry, don't have time to create a patch on the -git version)