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

David Nind <da...@davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |da...@davidnind.com

--- Comment #8 from David Nind <da...@davidnind.com> ---
Testing notes (using KTD):
1. Go to <opac-url>/cgi-bin/koha/opac-shelves.pl?op=list&public=0&page=X 
(or got to OPAC > Lists > Your lists, then add &page=x to the URL (no need to
log in with an account))
2. You get an error trace: Can't call method "last_page" on an undefined value
at /kohadevbox/koha/opac/opac-shelves.pl line 484 ......
3.Get an error in the /var/log/koha/kohadev/plack-opac-error.log log file: 
  [2024/05/22 00:33:44] [WARN] Argument "x" isn't numeric in numeric le (<=) at
/usr/share/perl5/DBIx/Class/ResultSet.pm line 2523.
  2024/05/22 00:33:44] [WARN] No method pager found for Koha::Virtualshelves
DBIx::Class::ResultSet::pager(): Invalid page number (page-numbers are 1-based)
at /kohadevbox/koha/Koha/Objects.pm line 585 at
/kohadevbox/koha/opac/opac-shelves.pl line 483.
4. Apply the patch.
5. Repeat step 1:
   ==> Warning in plack-opac-error.log: [2024/05/22 00:40:54] [WARN] Argument
"x" isn't numeric in int at /kohadevbox/koha/opac/opac-shelves.pl line 90.
   ==> OPAC result: No error message, stays on the page with Lists (tabs with
Your lists + Public lists, and a link to "Log in to create a new list")

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/

Reply via email to