[Koha-bugs] [Bug 23972] New: No property remove_debarment for Koha::Patron
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 5 14:47:43 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23972
Bug ID: 23972
Summary: No property remove_debarment for Koha::Patron
Change sponsored?: ---
Product: Koha
Version: 18.11
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: magnus at libriotech.no
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
To reproduce:
- Make sure you have a borrower with a debarment
- Go to the full "patron edit" screen, e.g.
/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=1&categorycode=STAFF
- Tick the checkbox for "Remove?" connected with the debarment
- Click "Save" on the floating toolbar on the top of the screen
- Observe the "Internal Server Error" message
- Check the plack-error.log and it should say just "No property
remove_debarment for Koha::Patron"
Tested on a debian package install of Koha 18.11.03. (I also tested on current
master, but could NOT reproduce the problem there.)
I tried to grep for instances of remove_debarment being used as a property of a
Koha::Patron object, but with no luck:
$ grep -rn remove_debarment *
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt: 954:
<input type="checkbox" id="debarment_[%
d.borrower_debarment_id | html %]" name="remove_debarment" value="[%
d.borrower_debarment_id | html %]" />
members/memberentry.pl: 112: my @debarments_to_remove =
$input->multi_param('remove_debarment');
members/memberentry.pl: 224: qr/^add_debarment$/,
qr/^debarred_expiration$/, qr/^remove_debarment$/, # We already dealt with
debarments previously
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list