]> git.koha-community.org Git - koha.git/commit
Bug 23082: Fatal error editing a restricted patron
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 24 Jun 2019 14:58:00 +0000 (09:58 -0500)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 26 Jun 2019 17:17:41 +0000 (17:17 +0000)
commitde41a7de104f846e9d2b3bc967d0cd9de0173341
tree3ed780380fd85fdc91187ff3940a5fba1d575a92
parentf60f3ca0e64f66bc72c09abbb230ac22ce343dbe
Bug 23082: Fatal error editing a restricted 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

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 8947d5939fb33efd0887a6f443d392b9df17e2aa)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 0d2ebac7649f35c9273c5181e81a21f654e71f85)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
members/memberentry.pl