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

Owen Leonard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26046|0                           |1
        is obsolete|                            |

--- Comment #5 from Owen Leonard <[email protected]> ---
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 <[email protected]>

-- 
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