Koha-clms/Koha/Club
Tomas Cohen Arazi a04e696df9 Bug 27333: Throw the right exceptions
If parameters are missing, we need to throw
Koha::Exceptions::MissingParameter exceptions.

To test:
1. Apply the regression tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Club/Hold.t
=> FAIL: Tests fail because the method doesn't throw the right
exceptions
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit c5f3fdcc15)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 8bbc4514b7)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 7a611d3ba3)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-02-09 00:19:41 +01:00
..
Enrollment Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
Hold Bug 19618: (RM follow-up) Add missing use statements 2019-10-01 11:46:11 +01:00
Template Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
Enrollment.pm Bug 19809: Re-allow to call Koha::Objects::find in list context 2020-02-11 19:27:34 +00:00
Enrollments.pm Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
Field.pm Bug 19809: Re-allow to call Koha::Objects::find in list context 2020-02-11 19:27:34 +00:00
Fields.pm Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
Hold.pm Bug 27333: Throw the right exceptions 2021-02-09 00:19:41 +01:00
Holds.pm Bug 19618: (RM follow-up) Add missing use statements 2019-10-01 11:46:11 +01:00
Template.pm Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
Templates.pm Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00