[Koha-bugs] [Bug 21907] New: Error from mainpage when Article requests enabled and either IndependentBranches or IndependentBranchesPatronModifications is enabled
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 28 21:34:59 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21907
Bug ID: 21907
Summary: Error from mainpage when Article requests enabled and
either IndependentBranches or
IndependentBranchesPatronModifications is enabled
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
DBD::mysql::st execute failed: Column 'branchcode' in where clause is ambiguous
[for Statement "SELECT COUNT( * ) FROM `article_requests` `me` JOIN
`borrowers` `borrowernumber` ON `borrowernumber`.`borrowernumber` =
`me`.`borrowernumber` WHERE ( ( `branchcode` = ? AND `status` = ? ) )" with
ParamValues: 0="LIBRARY", 1='PENDING'] at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
No method count found for Koha::ArticleRequests
DBIx::Class::Storage::DBI::_dbh_execute(): Column 'branchcode' in where clause
is ambiguous at /usr/share/koha/lib/Koha/Objects.pm line 395
at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 71.
To recreate:
1 - Enable 'IndependentBranchesPatronModifications' and article requests
2 - Sign in as non-superlibrarian
3 - View plack log
4 - Refresh mainpage, see error in logs
--
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