15 Oct
2018
15 Oct
'18
7:47 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21337 --- Comment #17 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- I have fixed a failing test in Objects.t IMO the following line is wrong: $patron->delete == 1 || Koha::Exceptions::Patron::Delete->throw; We must follow dbic behaviours and so we must not throw an exception if something went wrong (what DBIC does) Then I would not name an exception "Koha::Exceptions::Patron::Delete" but more something like Koha::Exceptions::Patron::NotDeleted, or CannotDelete, CannotBeDeleted, etc. -- You are receiving this mail because: You are watching all bug changes.