Bug 18171 - Patron Clubs feature breaks logging in/display of logged in users
Summary: Patron Clubs feature breaks logging in/display of logged in users
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low critical
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 12461
  Show dependency treegraph
 
Reported: 2017-02-27 00:13 UTC by Liz Rea
Modified: 2019-06-27 09:24 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Liz Rea 2017-02-27 00:13:48 UTC
It seems that you cannot log in to the OPAC with the new patron clubs feature. 

Logging in when no clubs are defined gives: 

The method get_club_enrollments_count is not covered by tests! at /home/vagrant/kohaclone/C4/Templates.pm line 121. 

If you have clubs defined, logging in gives you: 

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

Reverting the patch for the clubs resolves this issue.
Comment 1 Liz Rea 2017-02-27 01:48:39 UTC
Changed to critical for the bug it blocks, but it isn't a blocker in Koha.
Comment 2 Jonathan Druart 2017-02-27 07:36:00 UTC
Bug 12461 has been reverted.