[Bug 17034] New: Creating a new patron fails due to DB error
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@lists.koha-community.org Reporter: code@adamgoforth.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17034 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com | |, katrin.fischer@bsz-bw.de --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- It seems the column was introduced to the categories table by bug 6906 and should not appear in 16.05 - maybe it slipped in somehow with another patch/rebase? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17034 --- Comment #2 from Chris Cormack <chris@bigballofwax.co.nz> --- This bug was caused by commit 878402689eb652b09bed0d4f2c7e458d5c5493f4 I think we need to revert this out on 16.05.x -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17034 Frédéric Demians <frederic@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |16917 CC| |frederic@tamil.fr --- Comment #3 from Frédéric Demians <frederic@tamil.fr> --- Bug 16917 reverted on 16.05 branch. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16917 [Bug 16917] Error when importing patrons, Column 'checkprevcheckout' cannot be null -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17034 Frédéric Demians <frederic@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17034 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mirko@abunchofthings.net --- Comment #4 from Mirko Tietgen <mirko@abunchofthings.net> --- I already uploaded a new Debian package last night without the patch. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org