[Koha-bugs] [Bug 21085] Can't edit patrons with housebound module active

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 18 23:28:41 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21085

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 77094
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77094&action=edit
Bug 21085: Fix add/edit of patrons when HouseboundModule is set

This script takes all the parameters then set it to create/edit the
patron. We must list housebound_chooser and housebound_deliverer as not
part of patron's attributes

Test plan:
- Enable HouseboundModule
- Create a patron
=> When you save, if the patch is not applied, you will get:
No property housebound_deliverer for Koha::Patron

- Edit a patron
=> When you save, if the patch is not applied, you will get:
Patron creation failed! - DBIx::Class::Row::store_column(): No such column
'housebound_chooser' on Koha::Schema::Result::Borrower at
/home/vagrant/kohaclone/Koha/Object.pm line 75

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list