[Koha-bugs] [Bug 18492] New: moremember.pl template param without key
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 25 14:11:48 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18492
Bug ID: 18492
Summary: moremember.pl template param without key
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Staff Client
Assignee: koha-bugs at lists.koha-community.org
Reporter: lari.taskula at jns.fi
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
moremember.pl has a template parameter without a key bug after Bug 5670. I
noticed this when working with Relatives checkouts tab, which was oddly missing
even though the guarantee had checkouts.
Also I get this warning in my logs:
Problem = a value of activeBorrowerRelationship has been passed to param
without key at /home/koha/kohaclone/C4/Templates.pm line 137.
The issue is at the end of moremember.pl, in
$template->param(
...
housebound_role => $patron->housebound_role,
...
);
$patron->housebound_role seems to return an empty list instead of undef in
scalar context.
To replicate:
1. Ensure patron is not associated with a HouseboundRole
2. Go to patron's details tab
3. See your error log, it should have a warning "Problem = a value of
activeBorrowerRelationship has been passed to param without key"
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list