[Koha-bugs] [Bug 14067] 500 error when deleting patrons

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 5 01:05:11 CEST 2015


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

--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
(In reply to Barton Chittenden from comment #2)
> Here's the error as found in intranet-error.log
> 
> [Mon May 04 08:52:27 2015] [error] [client xx.xx.xx.xx] [Mon May  4 08:52:27
> 2015] deletemem.pl: DBD::mysql::st execute failed: Column 'cardnumber'
> cannot be null at /usr/local/share/perl/5.10.1/DBIx/Class/Storage/DBI.pm
> line 1834.
> [Mon May 04 08:52:27 2015] [error] [client xx.xx.xx.xx] Premature end of
> script headers: deletemem.pl

That's an interesting error. When I look at my databases, 'cardnumber' is a
nullable column. I'd suggest looking at Koha::Schema::Result::Borrower.pm and
seeing if "cardnumber" has "is_nullable" set to 1. I'd also check the actual
database to see if it's a nullable column...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list