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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

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