[Koha-bugs] [Bug 26132] Improve readability of TooMany

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 4 16:11:03 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26132

--- Comment #21 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Created attachment 113006
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113006&action=edit
Bug 26132: (follow-up) Add test to show errors in max issues amount calculation

If you set default branch limits for issue quantity circulation
rules you will get errors when calling TooMany function.

To reproduce the error:
1) Apply this patch
2) Run prove t/db_dependent/Circulation/TooMany.t and notice the
   following error:

No method count found for Koha::Checkouts
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Unknown column 'item.homebranch' in 'where clause' [...]

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


More information about the Koha-bugs mailing list