On 01/03/2012 07:23 PM, Matt Wagner wrote:
It was requested that we display a better error than the default
error when attempting to import an image through the web UI without
actually inputting any data. This patch adds explicit validation for
this case. (Note that without this patch, an error is still raised,
but it's a generic error indicating that the image could not be
imported. This patch clarifies the error message.)
The first patch, adding a missing class name to the form, is not
strictly related, but it's an extremely minor change that makes the
form look considerably less-ugly and brings it inline with how forms
are supposed to be styled, so I'm including it while I was there.
-- Matt
ACK to the patchset