[Koha-bugs] [Bug 30907] Remaining incorrect uses of Koha::Recall->item_level_recall
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 10 17:38:13 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30907
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david at davidnind.com
--- Comment #6 from David Nind <david at davidnind.com> ---
For me, the log viewer is still exploding (using koha-testing-docker - this
patch is now in master, everything updated) - unless this is a different cause
of the error:
1. Enable recalls: set UseRecalls system preference to 'Use'.
2. Ensure recalls RecallsLog system preference is set to 'Log'.
3. Setup rcalls circulation and fines rules:
. Recalls allowed (total) = 5
. Recalls per record (count) = 2
. On shelf recalls allowed = 'If any unavailable'
. Recall due date interval (day) = 3
. Recall overdue fine amount = 5
. Recall pickup period (day) = 2
4. Checkout an item to a patron:
- Patron used: Mary Burton (Midway)
- Record used: Programming Perl (biblionumber = 262, one item =
39999000011418, home library = Centerville)
5. Change username/password for a patron and login to the OPAC and place a
recall for the item in step 4.
- Patron used: Henry Acevedo (Midway)
6. View the checkout and details tab for patron used in step 4:
. List of checkouts should display correctly
. Message in the title column for the item with a recall: This item has been
recalled and the due date updated.
7. Go to Tools > Log viewer and press submit (can limit the module to just
Recalls if you wish).
8. Error generated:
Template process failed: undef error - The method Koha::Recall->biblionumber is
not covered by tests!
Trace begun at /kohadevbox/koha/Koha/Object.pm line 875
Koha::Object::AUTOLOAD('Koha::Recall=HASH(0x55da45a77358)') called at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt line
385
eval {...} at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt line
385
eval {...} at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt line
409
eval {...} at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt line
18
Template::Provider::__ANON__('Template::Context=HASH(0x55da45d16528)') called
at /usr/lib/x86_64-linux-gnu/perl5/5.32/Template/Document.pm line 163
eval {...} at /usr/lib/x86_64-linux-gnu/perl5/5.32/Template/Document.pm line
161
Templ
.....
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list