[Koha-bugs] [Bug 27708] New: Cannot create EDI order if AcqCreateItem value is not "placing an order"
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 15 15:24:22 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27708
Bug ID: 27708
Summary: Cannot create EDI order if AcqCreateItem value is not
"placing an order"
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Acquisitions
Assignee: koha-bugs at lists.koha-community.org
Reporter: joonas.kylmala at helsinki.fi
QA Contact: testopia at bugs.koha-community.org
CC: nugged at gmail.com
Depends on: 23926
There was a regression in bug 23926 which causes EDI orders to give internal
server error if AcqCreateItem syspref is set to something other than "placing
an order." The code from patch "Bug 23926: Limit GIR segment to 5 pieces of
info" (f9efa7a9) assumes in the line
> branchcode => $item->homebranch->branchcode,
that we have an Koha object but that is not true when AcqCreateItem is set to
not create an item while placing the order. In that case we manually create
hash representing item which has the key "branch" that contains the branchcode
so the code "$item->homebranch->branchcode" doesn't work because it should be
$item{branch}.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23926
[Bug 23926] In EDI Order limit GIR segment to five pieces of information
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list