https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44246 --- Comment #1 from babar junaid <babarjunaid1122@gmail.com> --- Created attachment 212476 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212476&action=edit Bug 44246: An EDI order response with no text or date should not wipe the supplier's report Bug 44246: An EDI order response with no text or date should not wipe the supplier's report process_ordrsp writes the 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 wrote an empty string, and the supplier's earlier answer ("In stock", "Available: ...") was lost from the order. Such a line now leaves suppliers_report as it is. coded_orderline_text also warned "Use of uninitialized value $table" for a line with no coded text; it now returns nothing for it. Test plan: 1. prove t/db_dependent/Koha/EDI.t Without the patch the new subtest "a line with no text and no date keeps the last report" fails, and "no warnings" fails. 2. Apply the patch: all tests pass. 3. prove t/Ediordrsp.t t/db_dependent/Koha/Edifact*: still pass. Sponsored-by: Koha Solutions -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.