]> git.koha-community.org Git - koha.git/commit
Bug 34598: Improve handling of not found ILL request
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Wed, 23 Aug 2023 14:45:27 +0000 (14:45 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 30 Aug 2023 12:02:39 +0000 (09:02 -0300)
commit298043edb73f2f18b93a91135bc348aeffc428c9
tree7a28a168bbd9e5d99a0d6f5c268f558248d054b6
parent1e9d4dfdd58e61f384c8704c7028774fa8679cab
Bug 34598: Improve handling of not found ILL request

1) Enable ILLmodule and install FreeForm, run:
   bash <(curl -s https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh)
2) Visit a request that doesn't exist (assuming empty illrequests table):
   INTRA/cgi-bin/koha/ill/ill-requests.pl?method=illview&illrequest_id=1
3) Verify an error 500 is returned with message "Can't call method
   "backend_illview""
4) Apply patch
5) Repeat steps 1-3. Verify that a "ILL request not found." message is
   now displayed

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
ill/ill-requests.pl
koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc
koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc