https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36858
Bug ID: 36858
Summary: Crash on wrong page number in opac-shelves
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
[WARN] No method pager found for Koha::Virtualshelves
DBIx::Class::ResultSet::pager(): Invalid page number (page-numbers are 1-based)
at /usr/share/koha/Koha/Objects.pm line 578
at /usr/share/koha/opac/opac-shelves.pl line 477.
L477 my $pager = $shelves->pager;
L578 (Objects AUTOLOAD) my $r = eval { $self->_resultset->$method(@params) };
Returns a DBIx::Class::ResultSet::Pager object tied to the current resultset.
Requires the page attribute to have been previously set on the resultset
object, usually via a call to "page".
Looking at our logs, people are sending weird parameters to opac-shelves
including non-numeric page numbers in 'page'.
Koha should probably not crash on that?
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/