]> git.koha-community.org Git - koha.git/commit
Bug 30057: Move virtualshelf-related exceptions to a separate library
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 9 Feb 2022 13:05:12 +0000 (10:05 -0300)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 12 Jul 2022 16:15:12 +0000 (16:15 +0000)
commit7c872c19686621b7ac44dd24abb2f47b4452549a
treeae35e736108ae5cc5f07fc7935c2c9a7b719a829
parentdf93605b2ec10215829d252af41b897c19a9009e
Bug 30057: Move virtualshelf-related exceptions to a separate library

This patch moves the not-generic virtualshelf-related exceptions to
their own file. Callers are adjusted as required.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/Virtualshelves.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass
4. Check virtualshelves work as expected
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 7704f51d5131d3f1104244a705294db614eae76e)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/Exceptions.pm
Koha/Exceptions/Virtualshelf.pm [new file with mode: 0644]
Koha/Virtualshelf.pm
Koha/Virtualshelfshare.pm
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
t/db_dependent/Virtualshelves.t