Bug 39544 - New > New record generates warnings in log
Summary: New > New record generates warnings in log
Status: Passed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal
Assignee: Janusz Kaczmarek
QA Contact: Matt Blenkinsop
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-03 12:50 UTC by Janusz Kaczmarek
Modified: 2025-04-03 14:14 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 39544: New > New record generates warnings in log (1.36 KB, patch)
2025-04-03 12:56 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review
Bug 39544: New > New record generates warnings in log (1.41 KB, patch)
2025-04-03 13:28 UTC, Magnus Enger
Details | Diff | Splinter Review
Bug 39544: New > New record generates warnings in log (1.48 KB, patch)
2025-04-03 13:34 UTC, Caroline Cyr La Rose
Details | Diff | Splinter Review
Bug 39544: New > New record generates warnings in log (1.54 KB, patch)
2025-04-03 14:14 UTC, Matt Blenkinsop
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Janusz Kaczmarek 2025-04-03 12:50:44 UTC
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.

etc.
Comment 1 Janusz Kaczmarek 2025-04-03 12:56:13 UTC Comment hidden (obsolete)
Comment 2 Magnus Enger 2025-04-03 13:28:20 UTC
Created attachment 180525 [details] [review]
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>
Comment 3 Caroline Cyr La Rose 2025-04-03 13:34:36 UTC
Created attachment 180528 [details] [review]
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>
Comment 4 Matt Blenkinsop 2025-04-03 14:14:05 UTC
Created attachment 180566 [details] [review]
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>