[Koha-bugs] [Bug 30971] New: Recalls - log viewer error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 15 21:08:06 CEST 2022


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

            Bug ID: 30971
           Summary: Recalls - log viewer error
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: david at davidnind.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

There is an error in the log viewer when displaying the recalls logs on the
screen (exporting to a file works though):

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
.....

To replicate:
1. Enable recalls: set UseRecalls system preference to 'Use'.
2. Ensure the RecallsLog system preference is set to 'Log'.
3. Setup recalls 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).

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


More information about the Koha-bugs mailing list