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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/