[Koha-bugs] [Bug 34467] OAI GetRecord bad encoding for UNIMARC
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Oct 2 22:58:50 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34467
--- Comment #5 from David Nind <david at davidnind.com> ---
(In reply to Frédéric Demians from comment #4)
> It seems possible, but, for me, now, the test t/db_dependent/OAI/Server.t
> fails on master. Is it the case for you also?
I can confirm that the tests fail for me, both before and after.
I was more after a test plan, so I could replicate the issue, apply the patch,
and make sure it fixes things.
Test results - before
~~~~~~~~~~~~~~~~~~~~~
prove t/db_dependent/OAI/Server.t
t/db_dependent/OAI/Server.t .. 13/34 # No tests run!
t/db_dependent/OAI/Server.t .. 30/34
# Failed test 'No tests run for subtest "Bug 19725: OAI-PMH ListRecords and
ListIdentifiers should use biblio_metadata.timestamp"'
# at t/db_dependent/OAI/Server.t line 413.
Can't call method "timestamp" on an undefined value at
t/db_dependent/OAI/Server.t line 400.
# Looks like your test exited with 2 just after 30.
t/db_dependent/OAI/Server.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/34 subtests
Test Summary Report
-------------------
t/db_dependent/OAI/Server.t (Wstat: 512 Tests: 30 Failed: 1)
Failed test: 30
Non-zero exit status: 2
Parse errors: Bad plan. You planned 34 tests but ran 30.
Files=1, Tests=30, 3 wallclock secs ( 0.01 usr 0.00 sys + 1.12 cusr 0.13
csys = 1.26 CPU)
Result: FAILU)
Result: PASS
Test results - after
~~~~~~~~~~~~~~~~~~~~
There was a lot more output, and I haven't included it here (just the start and
end).
prove t/db_dependent/OAI/Server.t
t/db_dependent/OAI/Server.t .. 19/34
# Failed test 'ListRecords marcxml'
# at t/db_dependent/OAI/Server.t line 184.
# Compared $data->{"ListRecords"}{"record"}[0]{"metadata"}{"record"}{"leader"}
# got : '00183 2200097 4500'
# expect : '00183 a2200097 4500'
# PARAM:---
# metadataPrefix: marcxml
# verb: ListRecords
.....
# request: http://localhost
# xmlns: http://www.openarchives.org/OAI/2.0/
# xmlns:xsi: http://www.w3.org/2001/XMLSchema-instance
# xsi:schemaLocation: http://www.openarchives.org/OAI/2.0/
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd
# No tests run!
t/db_dependent/OAI/Server.t .. 30/34
# Failed test 'No tests run for subtest "Bug 19725: OAI-PMH ListRecords and
ListIdentifiers should use biblio_metadata.timestamp"'
# at t/db_dependent/OAI/Server.t line 413.
Can't call method "timestamp" on an undefined value at
t/db_dependent/OAI/Server.t line 400.
# Looks like your test exited with 2 just after 30.
t/db_dependent/OAI/Server.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 10/34 subtests
Test Summary Report
-------------------
t/db_dependent/OAI/Server.t (Wstat: 512 Tests: 30 Failed: 6)
Failed tests: 21-24, 29-30
Non-zero exit status: 2
Parse errors: Bad plan. You planned 34 tests but ran 30.
Files=1, Tests=30, 3 wallclock secs ( 0.02 usr 0.00 sys + 1.17 cusr 0.11
csys = 1.30 CPU)
Result: FAIL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list