http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11917

--- Comment #1 from Jonathan Druart <[email protected]> ---
Created attachment 26005
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26005&action=edit
Bug 11917: upload image - catch error if cardnumber does not exist.

On uploading a patron image, if the given cardnumber does not exist,
a software error is raised

DBD::mysql::st execute failed: Column 'borrowernumber' cannot be null at
/home/koha/src/C4/Members.pm line 1916.

Test plan:
go on tools/picture-upload.pl, choose an image and put a cardnumber which does
not exist in DB.
With the patch, you should get a friendly error message.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to