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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/