Koha-clms/Koha/ILL
Pedro Amorim 174459f938
Bug 32630: Update get_notice
Make it consider the possibility of a patron not existing.
This ensures that placing a request with partners does not error and works as expected even if the ILL request's borrowernumber is undef

To test:
1) Run the test file before and after applying this patch:
prove t/db_dependent/Koha/ILL/Requests.t

To test (ILL request is kept after borrower is deleted):
1) Apply all patches except this one
2) Enable ILLModule and create an ILL request.
3) Add a type, valid cardnumber and library.
4) Delete the associated borrower.
5) Confirm the ILL request is still listed and shown as expected

Continue test, confirm follow-up bug is fixed:
6) Click 'Place request with partners'
7) You get a ERR_TOO_MANY_REDIRECTS error
8) Apply this patch and restart plack. Repeat.
9) Confirm the place request with partners libraries page is shown correctly

Sponsored-by: UKHSA - UK Health Security Agency
Signed-off-by: Jeremy Evans <Jeremy.Evans@ukhsa.gov.uk>
Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit e95ec209c1)
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
2025-07-09 14:18:17 +00:00
..
Backend Bug 38751: Update Standard ILL backend migrate 2025-04-22 23:01:37 +02:00
Batch Bug 35581: Koha::Illrequest::Logger -> Koha::ILL::Request::Logger 2024-04-22 08:57:44 +02:00
Request Bug 37872: Consider enable_plugins = 0 when fetching plugin backends 2024-11-07 16:29:13 +01:00
Backend.pm Bug 34838: Only call strings_map if status_alias is not undef in status_alias cycle 2024-06-10 12:01:05 +01:00
Batch.pm Bug 35581: Koha::Illrequest -> Koha::ILL::Request 2024-04-22 08:57:45 +02:00
Batches.pm Bug 35581: Koha::*Illbatch* -> Koha::*ILL::*Batch* 2024-04-22 08:57:41 +02:00
Comment.pm Bug 35581: Koha::Illcomment* -> Koha::ILL::Comment* 2024-04-22 08:57:42 +02:00
Comments.pm Bug 35581: Koha::Illcomment* -> Koha::ILL::Comment* 2024-04-22 08:57:42 +02:00
Request.pm Bug 32630: Update get_notice 2025-07-09 14:18:17 +00:00
Requests.pm Bug 37389: (QA follow-up) Tidy 2024-08-02 18:59:55 +02:00