]> git.koha-community.org Git - koha.git/commit
Bug 27833: Make Koha::Exceptions::Patron::Attribute::* have parameters
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 2 Mar 2021 14:04:38 +0000 (11:04 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 9 Apr 2021 13:43:26 +0000 (15:43 +0200)
commit1444fa7641fa5e747da6caf9c25b754e60d3267e
tree8d2e61c379daf1ebb081e76fc32b5eaf0621456b
parenta26303138cf75c669129a527e309f2fbfc240af6
Bug 27833: Make Koha::Exceptions::Patron::Attribute::* have parameters

This patch adds a 'field' to this exceptions. They now have an
'attribute' parameter referencing the object itself,

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/Koha/Exceptions.t
=> SUCCESS: Tests pass!
3. Sign off!

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Exceptions/Patron/Attribute.pm
t/Koha/Exceptions.t