]> git.koha-community.org Git - koha.git/commit
Bug 25996: Add logging to restrictions actions
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 22 Apr 2024 04:04:31 +0000 (01:04 -0300)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 3 May 2024 16:02:17 +0000 (18:02 +0200)
commit00ec0035cffadf14357a81ee20a07a1ed3033fa3
tree411ceaa92dc467f1594e6df0c3150bd6233f8422
parent96f524060171dad6d0bcaabfc14d452a13e6a693
Bug 25996: Add logging to restrictions actions

This patch adds logging for the following actions:

* CREATE_RESTRICITON
* MODIFY_RESTRICTION
* DELETE_RESTRICTION

To test:
1. Apply the unit tests
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Patron/Borrower_Debarments.t
=> FAIL: The feature is not implemented! Nothing is logged!
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Sponsored-by: Karlsruhe Institute of Technology (KIT)
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Patron/Debarments.pm