Bug 40020

Summary: Koha/AdditionalContents.t produces warnings
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: 24.11   
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.01,24.11.08
Circulation function:
Bug Depends on:    
Bug Blocks: 40444    
Attachments: Bug 40020: Remove warnings from Koha/AdditionalContents.t
Bug 40020: Remove warnings from Koha/AdditionalContents.t
Bug 40020: Remove warnings from Koha/AdditionalContents.t

Description Jonathan Druart 2025-05-28 14:51:09 UTC
Use of uninitialized value $lang in concatenation (.) or string at /kohadevbox/koha/Koha/AdditionalContents.pm line 80.
Comment 1 Jonathan Druart 2025-05-28 14:52:11 UTC
Created attachment 182825 [details] [review]
Bug 40020: Remove warnings from Koha/AdditionalContents.t

Test plan:
  prove t/db_dependent/Koha/AdditionalContents.t
should return green
Comment 2 David Nind 2025-05-31 12:29:17 UTC
Created attachment 182877 [details] [review]
Bug 40020: Remove warnings from Koha/AdditionalContents.t

Test plan:
  prove t/db_dependent/Koha/AdditionalContents.t
should return green

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 Marcel de Rooy 2025-06-06 07:02:08 UTC
Created attachment 183044 [details] [review]
Bug 40020: Remove warnings from Koha/AdditionalContents.t

Test plan:
  prove t/db_dependent/Koha/AdditionalContents.t
should return green

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-06-06 15:45:11 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 5 Paul Derscheid 2025-06-22 21:47:15 UTC
Nice work everyone!

Pushed to 25.05.x for 25.05.03
Comment 6 Fridolin Somers 2025-07-25 11:49:30 UTC
Pushed to 24.11.x for 24.11.08