[Koha-bugs] [Bug 11917] upload patron image can raise a software error
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 11 16:15:42 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11917
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #26046|0 |1
is obsolete| |
--- Comment #5 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 26117
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26117&action=edit
[SIGNED-OFF] 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:
SET DEBUG=1 in your apache configuration
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.
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list