Koha-clms/cataloguing
Janusz Kaczmarek 70e43a0553
Bug 39544: New > New record generates warnings in log
When creating a new record starting from Normal records view, by using
New > New record warnings in the log will be generated like:

[2025/04/03 12:45:33] [WARN] Use of uninitialized value $frameworkcode
in string eq at /kohadevbox/koha/cataloguing/addbiblio.pl line 513.

Test plan:
==========
1. In staff interface, open any record in Normal view.
2. From upper menu chose New > New record.
3. Check the plack-intranet-error.log file, you should see fresh
   warnings with "Use of uninitialized value $frameworkcode".
4. Apply the patch ; restart_all.
5. Repeat p. 1.-3. No new warnings.

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-04-11 09:52:39 +02:00
..
value_builder Bug 35134: Use localStorage instead of a cookie 2025-03-19 17:34:56 +01:00
addbiblio.pl Bug 39544: New > New record generates warnings in log 2025-04-11 09:52:39 +02:00
addbooks.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
additem.pl Bug 36498: Tidy cataloguing/additem.pl 2024-06-27 14:04:48 +02:00
cataloging-home.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
concerns.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
editor.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
linkitem.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
merge.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
merge_ajax.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
moveitem.pl Bug 39213: Force scalar on query param barcode 2025-03-07 15:41:15 +01:00
plugin_launcher.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
ysearch.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
z3950_auth_search.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
z3950_search.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00