[Koha-bugs] [Bug 34598] Error 500 is shown when ILL request is not found

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 23 16:57:40 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34598

--- Comment #1 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 154712
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=154712&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list