Bugzilla – Attachment 90954 Details for
Bug 23082
Fatal error editing a restricted patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23082: FIX debarment removing when editing a patron
Bug-23082-FIX-debarment-removing-when-editing-a-pa.patch (text/plain), 1.44 KB, created by
Jonathan Druart
on 2019-06-24 15:11:34 UTC
(
hide
)
Description:
Bug 23082: FIX debarment removing when editing a patron
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-06-24 15:11:34 UTC
Size:
1.44 KB
patch
obsolete
>From 77b1e1753bb63c93c93bc239ea12041726444afe Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 24 Jun 2019 09:58:00 -0500 >Subject: [PATCH] Bug 23082: FIX debarment removing when editing a patron > >In members/memberentry.pl we have to explicitely remove the template's >params that are not patron's attributes. > >Certainly caused by > commit 1bb6cec902088d07c7a43addc4b4adb5b0bf3d4f > Bug 20287: Fix update of patrons, clean the data before ->store > >Test plan: >Create a restriction for a patron >Edit patron's details >Remove the restriction >=> Without this patch you get "No property remove_debarment for >Koha::Patron" >=> With this patch applied the restriction is removed >--- > members/memberentry.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/memberentry.pl b/members/memberentry.pl >index 7553d1a07e..bd86e36b67 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -221,7 +221,7 @@ if ( $op eq 'insert' || $op eq 'modify' || $op eq 'save' || $op eq 'duplicate' ) > qr/^\d+-DAYS/, > qr/^patron_attr_/, > qr/^csrf_token$/, >- qr/^add_debarment$/, qr/^debarred_expiration$/, # We already dealt with debarments previously >+ qr/^add_debarment$/, qr/^debarred_expiration$/, qr/^remove_debarment$/, # We already dealt with debarments previously > qr/^housebound_chooser$/, qr/^housebound_deliverer$/, > qr/^select_city$/, > ); >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23082
:
90954
|
90958
|
90963