[Koha-bugs] [Bug 30135] We should allow configuration of whether EDI LSQ segments map to 'location' or 'collection'
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 6 05:33:00 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30135
wainuiwitikapark at catalyst.net.nz changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wainuiwitikapark at catalyst.n
| |et.nz
--- Comment #22 from wainuiwitikapark at catalyst.net.nz ---
This patch might have introduced a flaw in the tests - when we run
t/ediorder.t, it fails with this output:
vagrant at kohadevbox:kohaclone((v22.05.02))$ sudo koha-shell kohadev
kohadev-koha at kohadevbox:/home/vagrant/kohaclone$ prove t/Ediorder.t
t/Ediorder.t .. 1/13 Use of uninitialized value $lsq_field in hash element at
/home/vagrant/kohaclone/Koha/Edifact/Order.pm line 563.
Use of uninitialized value $lsq_field in hash element at
/home/vagrant/kohaclone/Koha/Edifact/Order.pm line 563.
t/Ediorder.t .. 11/13
# Failed test 'Single Gir field OK'
# at t/Ediorder.t line 104.
# got: 'GIR+001+BUDGET:LFN+BRANCH:LLO+TYPE:LST+CALL:LSM'
# expected: 'GIR+001+BUDGET:LFN+BRANCH:LLO+TYPE:LST+LOCATION:LSQ+CALL:LSM'
Use of uninitialized value $lsq_field in hash element at
/home/vagrant/kohaclone/Koha/Edifact/Order.pm line 563.
Use of uninitialized value $lsq_field in hash element at
/home/vagrant/kohaclone/Koha/Edifact/Order.pm line 563.
$VAR1 = 'GIR+001+BUDGET:LFN+BRANCH:LLO+TYPE:LST+CALL:LSM+S_I:LVT';
$VAR2 = 'GIR+002+BUDGET:LFN+BRANCH:LLO+TYPE:LST+CALL:LSM+S_I:LVT';
Use of uninitialized value $got in string eq at (eval in cmp_ok) t/Ediorder.t
line 119.
# Failed test 'First part of split Gir field OK'
# at t/Ediorder.t line 119.
# got: undef
# expected: 'GIR+002+BUDGET:LFN+BRANCH:LLO+TYPE:LST+LOCATION:LSQ+CALL:LSM'
Use of uninitialized value $got in string eq at (eval in cmp_ok) t/Ediorder.t
line 125.
# Failed test 'Second part of split GIR field OK'
# at t/Ediorder.t line 125.
# got: undef
# expected: 'GIR+002+S_I:LVT'
# Looks like you failed 3 tests of 13.
t/Ediorder.t .. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/13 subtests
Test Summary Report
-------------------
t/Ediorder.t (Wstat: 768 Tests: 13 Failed: 3)
Failed tests: 11-13
Non-zero exit status: 3
Files=1, Tests=13, 2 wallclock secs ( 0.02 usr 0.00 sys + 1.40 cusr 0.10
csys = 1.52 CPU)
Result: FAIL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list