Bug 18510

Summary: Errors on Patron Details page ( moremember.pl )
Product: Koha Reporter: Kyle M Hall <kyle>
Component: PatronsAssignee: Kyle M Hall <kyle>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: blocker    
Priority: P5 - low CC: gmcharlt, jonathan.druart+koha, kyle.m.hall, mtompset
Version: master   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12461
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18179
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 18179    
Bug Blocks:    
Attachments: Bug 18510 - Errors on Patron Details page ( moremember.pl )

Description Kyle M Hall 2017-04-28 15:11:03 UTC
Cannot use "->find" in list context at /home/vagrant/kohaclone/members/moremember.pl line 334.
Comment 1 Kyle M Hall 2017-04-28 15:13:40 UTC
Created attachment 62829 [details] [review]
Bug 18510 - Errors on Patron Details page ( moremember.pl )

Cannot use "->find" in list context at /home/vagrant/kohaclone/members/moremember.pl line 334.

Test Plan:
1) Got to moremember.pl, note error
2) Apply this patch
3) Refresh page, no error!
Comment 2 Kyle M Hall 2017-04-28 15:15:17 UTC
Question: do we need to switch all pages using patron-title.inc to passing a Koha::Patron as 'borrower'? It seems like that should be necessary, at least on some pages. Not sure which.
Comment 3 Mark Tompsett 2017-04-28 16:31:15 UTC
This was triggered by patron clubs (bug 12461), as far as I can tell, combined with bug 18179.
Comment 4 Jonathan Druart 2017-04-28 20:21:15 UTC
(In reply to Kyle M Hall from comment #2)
> Question: do we need to switch all pages using patron-title.inc to passing a
> Koha::Patron as 'borrower'? It seems like that should be necessary, at least
> on some pages. Not sure which.

Part of this is done already on bug 18403.
Comment 5 Jonathan Druart 2017-04-28 20:27:17 UTC
Patch moved to bug 18179.

*** This bug has been marked as a duplicate of bug 18179 ***