https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16330
--- Comment #35 from Lari Taskula <[email protected]> --- Created attachment 56668 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56668&action=edit Bug 16330: (follow-up) Move validation logic from controller to Koha::Patron This patch moves validation logic from controller into Koha::Patron object and takes advantage of Koha::Exceptions for throwing proper exceptions and catching them inside controller in order to return correct error messages. To test: 1. Apply this patch 2. Run tests perl t/db_dependent/api/v1/patrons.t 3. Follow the original test plan and observe it still applying -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
