[Bug 18511] New: Error loading booksellers.pl - Cannot use "->find" in list context
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18511 Bug ID: 18511 Summary: Error loading booksellers.pl - Cannot use "->find" in list context Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Cannot use "->find" in list context at /home/vagrant/kohaclone/acqui/booksellers.pl line 86. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18511 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |18179 Assignee|koha-bugs@lists.koha-commun |nick@bywatersolutions.com |ity.org | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18179 [Bug 18179] Koha::Objects->find should not be called in list context -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18511 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18511 --- Comment #1 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 62858 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62858&action=edit Bug 18511 - Error loading booksellers.pl - Cannot use "->find" in list context To test: 1 - Load http://localhost:8081/cgi-bin/koha/acqui/booksellers.pl?booksellerid=1 2 - Should get internal server erro 3 - Apply patch 4 - Reload 5 - Should not get error -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18511 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |veron@veron.ch --- Comment #2 from Marc Véron <veron@veron.ch> --- Reproduced on top of 18179 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18511 --- Comment #3 from Marc Véron <veron@veron.ch> --- With patch applied, problem is gone if booksellerid exists. However I get an Internal server error if I change it to a non existing id, e.g.: /cgi-bin/koha/acqui/booksellers.pl?booksellerid=999 Plack errorr log says: Can't call method "name" on an undefined value at (...)booksellers.pl line 93 I did the same before applying 18179 and 18511, had no error. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18511 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org Status|Needs Signoff |RESOLVED Resolution|--- |DUPLICATE --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Patch moved to bug 18179. *** This bug has been marked as a duplicate of bug 18179 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org