[Koha-bugs] [Bug 30924] Fix recalls-related errors in transfers and cancelling actions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 10 18:09:50 CEST 2022


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

--- Comment #11 from David Nind <david at davidnind.com> ---
Testing notes (sing koha-testing-docker):

1. Enable recalls: set UseRecalls system preference to 'Use'.
2. 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
3. Checkout an item to a patron:
   - Patron used: Mary Burton (Midway)
   - Record used: Programming Perl (biblionumber = 262, one item =
39999000011418, home library = Centerville)
4. Change username/password for a patron, login to the OPAC, and place a recall
for the item in step 4.
   - Patron used: Henry Acevedo (Midway)
5. Check in item for recall with library set to Centerville - confirm recall
and transfer.
6. Change library to Midway.
7. Go to Circulation > Transfers > Transfers to receive - error generated:

   Template process failed: undef error - The method
Koha::Recall->borrowernumber is not covered by tests!

  Trace begun at /kohadevbox/koha/Koha/Object.pm line 875
  Koha::Object::AUTOLOAD('Koha::Recall=HASH(0x55da4737e158)') called at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt
line 93
  eval {...} at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt
line 93
  eval {...} at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt
line 108
  eval {...} at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt
line 112
  ..

7. Apply patch, updatedatabase, dbic, flush_memcached, restart_all.
8. Refresh transfers to receive page - it should now display as expected
without errors.

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


More information about the Koha-bugs mailing list