[Koha-bugs] [Bug 17307] New: Edit button in patron search page doesn' t work without a category code
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 16 15:06:58 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17307
Bug ID: 17307
Summary: Edit button in patron search page doesn't work without
a category code
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: arouss1980 at gmail.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
Description of the problem:
The 'Edit' button in the patron search page doesn't work without a
category code in the URL.
[I've searched extensively and couldn't find this bug listed, so I'm
submitting it as new. Please note that it's different from:
Bug 4508 - can't edit patron attributes using little edit link, and
Bug 4427 - Can't edit patron additional attributes and identifiers.]
Steps to reproduce (in the current master 0254fd7):
Go to Home > Patrons, search for a patron, click on the 'Edit' button
(last column). You cannot edit the patron, and you get the following
Software error in the browser:
Can't call method "get_expiry_date" on an undefined value at
/home/aroussos/kohaclone/members/memberentry.pl line 375.
Notice how the URL is of the form:
cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=52
If you follow a different route and click on the 'Edit' button above
the patron name in the patron Details page it works fine because the
URL is like this (notice the added '&categorycode=J' at the end):
cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=52&categorycode=J
--
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