Bug 40388

Summary: t/Labels.t generates a warning
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Test SuiteAssignee: Jonathan Druart <jonathan.druart>
Status: Pushed to oldstable --- QA Contact: Marcel de Rooy <m.de.rooy>
Severity: minor    
Priority: P5 - low CC: fridolin.somers, m.de.rooy
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
25.11.00,25.05.02,24.11.08
Circulation function:
Bug Depends on:    
Bug Blocks: 40444    
Attachments: Bug 40388: Remove warning from t/Labels.t
Bug 40388: Remove warning from t/Labels.t
Bug 40388: Remove warning from t/Labels.t

Description Jonathan Druart 2025-07-15 12:48:20 UTC
Use of uninitialized value $cn_item in sprintf at /kohadevbox/koha/C4/ClassSplitRoutine/LCC.pm line 53.
Comment 1 Jonathan Druart 2025-07-15 12:49:28 UTC
Created attachment 184087 [details] [review]
Bug 40388: Remove warning from t/Labels.t

Use of uninitialized value $cn_item in sprintf at /kohadevbox/koha/C4/ClassSplitRoutine/LCC.pm line 53.
Comment 2 David Nind 2025-07-18 07:27:27 UTC
Created attachment 184288 [details] [review]
Bug 40388: Remove warning from t/Labels.t

Use of uninitialized value $cn_item in sprintf at /kohadevbox/koha/C4/ClassSplitRoutine/LCC.pm line 53.

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 Marcel de Rooy 2025-07-18 09:29:57 UTC
Created attachment 184313 [details] [review]
Bug 40388: Remove warning from t/Labels.t

Use of uninitialized value $cn_item in sprintf at /kohadevbox/koha/C4/ClassSplitRoutine/LCC.pm line 53.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 4 Lucas Gass (lukeg) 2025-07-18 17:12:28 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 5 Paul Derscheid 2025-07-24 08:21:21 UTC
Nice work everyone!

Pushed to 25.05.x
Comment 6 Fridolin Somers 2025-08-01 12:34:13 UTC
Pushed to 24.11.x for 24.11.08