https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44246 Bug ID: 44246 Summary: An EDI order response line with no text or date wipes the supplier's report on the order Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: babarjunaid1122@gmail.com QA Contact: testopia@bugs.koha-community.org Target Milestone: --- process_ordrsp (Koha/EDI.pm) writes each non-cancelled line's coded text and availability date into the order's suppliers_report. When a later response for the same line has neither (the supplier acknowledges the line again), it writes an empty string, so the supplier's earlier answer ("In stock", "Available: ...") disappears from the order. Such a line also makes Koha::Edifact::Line::coded_orderline_text warn "Use of uninitialized value $table in string eq". To reproduce: process an ORDRSP whose line has FTX+LIN++IB:8B:28 (suppliers_report becomes "In stock"), then an ORDRSP for the same order line without the FTX segment: suppliers_report is now empty. Reproduced on main (c8e8025) with a new subtest in t/db_dependent/Koha/EDI.t. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.