[Koha-bugs] [Bug 17522] opac-user.pl gives error of OpacRenewalAllowed is enabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 2 14:57:48 CET 2016


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

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #57048|0                           |1
        is obsolete|                            |

--- Comment #7 from Marc Véron <veron at veron.ch> ---
Created attachment 57102
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57102&action=edit
Bug 17522 - opac-user.pl gives error of OpacRenewalAllowed is enabled

If OpacRenewalAllowed is enabled, the following error message is
displayed:

Template process failed: undef error - The method is_expired is not
covered by tests! at /home/vagrant/kohaclone/C4/Templates.pm line 121.

Test Plan:
1) Check out an item for a patron
2) Enable OpacRenewalAllowed
3) Log in as that patron, go to opac-user.pl
4) Note the error
5) Apply this patch
6) Reload opac-user.pl
7) Page should now load!

Problem reproduced, patch fixes it. Signing off to move it forward.
However see comment #6 for QA
Signed-off-by: Marc Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list