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

            Bug ID: 41944
           Summary: Error 500 on non-existent ILL request (op=illview)
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: ILL
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected],
                    [email protected], [email protected]

It should be returning the usual 404, but is no checking it and throwing
template errors instead.

To reproduce:
1. Have KTD launched with an ILL backend loaded:
   $ ktd --proxy --name rapido --single-plugin ~/git/koha-plugins/rapido-ill up
-d
   $ ktd --shell
  k$ cd /kohadevbox/plugins/rapido-ill/scripts
  k$ perl bootstrap_rapido_testing.pl
  k$ restart_all
2. Log into the instance at `http://rapido-admin.localhost`
3. Point your browser to a [non-existent ILL
request](http://rapido-intra.localhost/cgi-bin/koha/ill/ill-requests.pl?op=illview&illrequest_id=1000)
=> FAIL: Boo, template errors and stacktrace

Note: In production, the you get a 500 error and the template errors show up in
the logs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to