When I edit an existing patron in master, I get an error upon saving: No property select_city for Koha::Patron at /usr/share/perl5/Exception/Class/Base.pm line 73 To reproduce this error you must have cities defined in Administration -> Cities & towns.
Created attachment 77362 [details] [review] Bug 21136: Fix add/edit patron when cities are defined Same as bug 21085. When cities are defined, there is a select with name="select_city" added to the DOM and its value will be passed to memberentry.pl We must remove it from the attribute list before creating the Koha::Patron object No property select_city for Koha::Patron at /usr/share/perl5/Exception/Class/Base.pm line 73 Test plan: Define cities Add or edit a patron, save
Created attachment 77366 [details] [review] Bug 21136: Fix add/edit patron when cities are defined Same as bug 21085. When cities are defined, there is a select with name="select_city" added to the DOM and its value will be passed to memberentry.pl We must remove it from the attribute list before creating the Koha::Patron object No property select_city for Koha::Patron at /usr/share/perl5/Exception/Class/Base.pm line 73 Test plan: Define cities Add or edit a patron, save Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 77374 [details] [review] Bug 21136: Fix add/edit patron when cities are defined Same as bug 21085. When cities are defined, there is a select with name="select_city" added to the DOM and its value will be passed to memberentry.pl We must remove it from the attribute list before creating the Koha::Patron object No property select_city for Koha::Patron at /usr/share/perl5/Exception/Class/Base.pm line 73 Test plan: Define cities Add or edit a patron, save Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master. Thanks all!
Depends on (and is caused by) but 20287 which is not in 18.05.x series.