[Koha-bugs] [Bug 17034] New: Creating a new patron fails due to DB error
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 2 23:42:50 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17034
Bug ID: 17034
Summary: Creating a new patron fails due to DB error
Change sponsored?: ---
Product: Koha
Version: 16.05
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: code at adamgoforth.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
After upgrading from Koha 16.05.01 to 16.05.02 with the Debian package,
creating a new patron via the web interface fails. After filling out and
submitting the form at
/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=OP this error is
displayed:
DBIx::Class::Row::store_column(): No such column 'checkprevcheckout' on
Koha::Schema::Result::Borrower at /usr/share/koha/lib/C4/Members.pm line 731
It seems that the problem is in line 727 of Members.pm:
$new_member->{checkprevcheckout} ||= 'inherit';
Commenting out this line allows the patron creation to finish normally.
The issue seems to be that the column "checkprevcheckout" does not exist in the
borrowers table and should not exist in this version of Koha. Apparently it was
added to master in bug 6906, and it shouldn't be in a public release until Koha
16.11.
Koha version: 16.05.02.000
OS: Debian 8.5
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list