Bug 40387

Summary: t/db_dependent/Koha/EDI.t generates warnings
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Test SuiteAssignee: Martin Renvoize (ashimema) <martin.renvoize>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: martin.renvoize
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 25515    

Description Jonathan Druart 2025-07-15 12:39:33 UTC
03:27:57 koha_1       | substr outside of string at /kohadevbox/koha/Koha/Edifact/Segment.pm line 101.
03:27:57 koha_1       | Use of uninitialized value $seg in substitution (s///) at /kohadevbox/koha/Koha/Edifact/Segment.pm line 103.
03:27:57 koha_1       | Use of uninitialized value $seg in split at /kohadevbox/koha/Koha/Edifact/Segment.pm line 104.
03:27:57 koha_1       | substr outside of string at /kohadevbox/koha/Koha/Edifact/Segment.pm line 101.
03:27:57 koha_1       | Use of uninitialized value $seg in substitution (s///) at /kohadevbox/koha/Koha/Edifact/Segment.pm line 103.
03:27:57 koha_1       | Use of uninitialized value $seg in split at /kohadevbox/koha/Koha/Edifact/Segment.pm line 104.
03:27:57 koha_1       |         #     Loaded QUOTE file with 1 Message that contains 2 LIN segments with the first
03:27:57 koha_1       |         #     consistent of 1 item and the second with 3 items with 2 different funds.
03:27:57 koha_1       | No matching EAN found for 5412345000013 at t/db_dependent/Koha/EDI.t line 385.
03:27:57 koha_1       |         # Looking at order: 1
03:27:57 koha_1       |         # Looking at order: 2
03:27:57 koha_1       |         # Looking at order: 3
03:27:57 koha_1       |         # Second LIN split into 2 Orderlines, one for each Fund
03:27:57 koha_1       |         #     Loading QUOTE file with 1 Message that contains 2 LIN segments with the first
03:27:57 koha_1       |         #     consistent of 1 item and the second with 3 items with 2 different undefined funds.
03:27:57 koha_1       |         #     Loading QUOTE file with 2 messages
03:27:57 koha_1       | No orderlines for basket 285 at t/db_dependent/Koha/EDI.t line 618.
03:27:57 koha_1       | No orderlines for basket 286 at t/db_dependent/Koha/EDI.t line 618.
03:27:57 koha_1       | Use of uninitialized value in multiplication (*) at /kohadevbox/koha/Koha/EDI.pm line 420.
03:27:57 koha_1       | Use of uninitialized value in multiplication (*) at /kohadevbox/koha/Koha/EDI.pm line 420.