]> git.koha-community.org Git - koha.git/commit
Bug 35570: Prevent use of ILL module if deprecated FreeForm backend is installed
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Fri, 15 Dec 2023 16:07:37 +0000 (15:07 -0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 31 Oct 2024 07:05:21 +0000 (08:05 +0100)
commit83e8f0e0c3cbfaa2114d9c0c7d0a1ae21c63b8fe
tree4b2b0bd66ad654b7a3e37bd318757d7b994f0c44
parent033e154fdfac009513565dc39ba725b7338a349a
Bug 35570: Prevent use of ILL module if deprecated FreeForm backend is installed

Test plan:
1) This patch should not be applied in order to be able to go through the previous patch's test plan
2) Install FreeForm, run:
bash <(curl -s https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh)
3) Please note that you need to be using FreeForm's reorganize_ILL branch at:
https://github.com/PTFS-Europe/koha-ill-freeform/commits/reorganize_ILL/
4) Visit ILL page:
/cgi-bin/koha/ill/ill-requests.pl
5) Notice there's a configuration error preventing the use of the ILL module.
6) Click the 'about page' link and verify there is a warning about
   FreeForm
7) Remove FreeForm from /kohadevbox/koha/Koha/Illbackends and refresh the page
8) Repeat 4), notice the requests are listed as expected and you can now
   use the ILL module again.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
about.pl
ill/ill-requests.pl
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt