https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40962

            Bug ID: 40962
           Summary: t/db_dependent/OAI/Server.t is failing
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

23:30:10 koha-1      | #   Failed test 'ListRecords marcxml'
23:30:10 koha-1      | #   at t/db_dependent/OAI/Server.t line 187.
23:30:10 koha-1      | # Compared
reftype($data->{"ListRecords"}{"record"}[0]{"metadata"}{"record"}{"datafield"})
23:30:10 koha-1      | #    got : 'HASH'
23:30:10 koha-1      | # expect : 'ARRAY'
23:30:10 koha-1      | # PARAM:---
23:30:10 koha-1      | # metadataPrefix: marcxml
23:30:10 koha-1      | # verb: ListRecords
23:30:10 koha-1      | # EXPECTED:---
23:30:10 koha-1      | # ListRecords:
23:30:10 koha-1      | #   record:
23:30:10 koha-1      | #   - header:
23:30:10 koha-1      | #       datestamp: 2025-10-06T21:30:08Z
23:30:10 koha-1      | #       identifier: TEST:3993
23:30:10 koha-1      | #     metadata:
23:30:10 koha-1      | #       record:
23:30:10 koha-1      | #         controlfield:
23:30:10 koha-1      | #         - content: '20251006213008.0'
23:30:10 koha-1      | #           tag: '005'
23:30:10 koha-1      | #         - content: '                                  
lng'
23:30:10 koha-1      | #           tag: '008'
23:30:10 koha-1      | #         datafield:
23:30:10 koha-1      | #         - ind1: ' '
23:30:10 koha-1      | #           ind2: ' '
23:30:10 koha-1      | #           subfield:
23:30:10 koha-1      | #             code: a
23:30:10 koha-1      | #             content: Title 0
23:30:10 koha-1      | #           tag: '245'
23:30:10 koha-1      | #         - ind1: ' '
23:30:10 koha-1      | #           ind2: ' '
23:30:10 koha-1      | #           subfield:
23:30:10 koha-1      | #           - code: c
23:30:10 koha-1      | #             content: '3993'
23:30:10 koha-1      | #           - code: d
23:30:10 koha-1      | #             content: '2292'
23:30:10 koha-1      | #           tag: '999'
23:30:10 koha-1      | #         leader: 00178    a2200085   4500
23:30:10 koha-1      | #         xmlns: http://www.loc.gov/MARC21/slim
23:30:10 koha-1      | #         xmlns:xsi:
http://www.w3.org/2001/XMLSchema-instance
23:30:10 koha-1      | #         xsi:schemaLocation:
http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd
23:30:10 koha-1      | #   - header:
23:30:10 koha-1      | #       datestamp: 2025-10-06T21:30:08Z
23:30:10 koha-1      | #       identifier: TEST:3994
23:30:10 koha-1      | #     metadata:
23:30:10 koha-1      | #       record:
23:30:10 koha-1      | #         controlfield:
23:30:10 koha-1      | #         - content: '20251006213008.0'
23:30:10 koha-1      | #           tag: '005'
23:30:10 koha-1      | #         - content: '                                  
lng'
23:30:10 koha-1      | #           tag: '008'
23:30:10 koha-1      | #         datafield:
23:30:10 koha-1      | #         - ind1: ' '
23:30:10 koha-1      | #           ind2: ' '
23:30:10 koha-1      | #           subfield:
23:30:10 koha-1      | #             code: a
23:30:10 koha-1      | #             content: Title 1
23:30:10 koha-1      | #           tag: '245'
23:30:10 koha-1      | #         - ind1: ' '
23:30:10 koha-1      | #           ind2: ' '
23:30:10 koha-1      | #           subfield:
23:30:10 koha-1      | #           - code: c
23:30:10 koha-1      | #             content: '3994'
23:30:10 koha-1      | #           - code: d
23:30:10 koha-1      | #             content: '2293'
23:30:10 koha-1      | #           tag: '999'
23:30:10 koha-1      | #         leader: 00178    a2200085   4500
23:30:10 koha-1      | #         xmlns: http://www.loc.gov/MARC21/slim
23:30:10 koha-1      | #         xmlns:xsi:
http://www.w3.org/2001/XMLSchema-instance
23:30:10 koha-1      | #         xsi:schemaLocation:
http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd
23:30:10 koha-1      | #   - header:
23:30:10 koha-1      | #       datestamp: 2025-10-06T21:30:08Z
23:30:10 koha-1      | #       identifier: TEST:3995
23:30:10 koha-1      | #     metadata:
23:30:10 koha-1      | #       record:
23:30:10 koha-1      | #         controlfield:
23:30:10 koha-1      | #         - content: '20251006213008.0'
23:30:10 koha-1      | #           tag: '005'
23:30:10 koha-1      | #         - content: '                                  
lng'
23:30:10 koha-1      | #           tag: '008'
23:30:10 koha-1      | #         datafield:
23:30:10 koha-1      | #         - ind1: ' '
23:30:10 koha-1      | #           ind2: ' '
23:30:10 koha-1      | #           subfield:
23:30:10 koha-1      | #             code: a
23:30:10 koha-1      | #             content: Title 2
23:30:10 koha-1      | #           tag: '245'
23:30:10 koha-1      | #         - ind1: ' '
23:30:10 koha-1      | #           ind2: ' '
23:30:10 koha-1      | #           subfield:
23:30:10 koha-1      | #           - code: c
23:30:10 koha-1      | #             content: '3995'
23:30:10 koha-1      | #           - code: d
23:30:10 koha-1      | #             content: '2294'
23:30:10 koha-1      | #           tag: '999'
23:30:10 koha-1      | #         leader: 00178    a2200085   4500
23:30:10 koha-1      | #         xmlns: http://www.loc.gov/MARC21/slim
23:30:10 koha-1      | #         xmlns:xsi:
http://www.w3.org/2001/XMLSchema-instance
23:30:10 koha-1      | #         xsi:schemaLocation:
http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd
23:30:10 koha-1      | #   resumptionToken:
23:30:10 koha-1      | #     content: !!perl/hash:Test::Deep::Regexp
23:30:10 koha-1      | #       val: !!perl/regexp (?^u:^marcxml/3////0/0/\d+$)
23:30:10 koha-1      | #     cursor: 3
23:30:10 koha-1      | # request: http://localhost
23:30:10 koha-1      | # xmlns: http://www.openarchives.org/OAI/2.0/
23:30:10 koha-1      | # xmlns:xsi: http://www.w3.org/2001/XMLSchema-instance
23:30:10 koha-1      | # xsi:schemaLocation:
http://www.openarchives.org/OAI/2.0/
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd
23:30:10 koha-1      | # RESPONSE:---
23:30:10 koha-1      | # ListRecords:
23:30:10 koha-1      | #   record:
23:30:10 koha-1      | #   - header:
23:30:10 koha-1      | #       datestamp: 2025-10-06T21:30:08Z
23:30:10 koha-1      | #       identifier: TEST:3993
23:30:10 koha-1      | #     metadata:
23:30:10 koha-1      | #       record:
23:30:10 koha-1      | #         controlfield:
23:30:10 koha-1      | #         - content: '20251006213008.0'
23:30:10 koha-1      | #           tag: '005'
23:30:10 koha-1      | #         - content: '                                  
lng'
23:30:10 koha-1      | #           tag: '008'
23:30:10 koha-1      | #         datafield:
23:30:10 koha-1      | #           ind1: ' '
23:30:10 koha-1      | #           ind2: ' '
23:30:10 koha-1      | #           subfield:
23:30:10 koha-1      | #           - code: c
23:30:10 koha-1      | #             content: '3993'
23:30:10 koha-1      | #           - code: d
23:30:10 koha-1      | #             content: '2292'
23:30:10 koha-1      | #           tag: '999'
23:30:10 koha-1      | #         leader: 00178    a2200085   4500
23:30:10 koha-1      | #         xmlns: http://www.loc.gov/MARC21/slim
23:30:10 koha-1      | #         xmlns:xsi:
http://www.w3.org/2001/XMLSchema-instance
23:30:10 koha-1      | #         xsi:schemaLocation:
http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd
23:30:10 koha-1      | #   - header:
23:30:10 koha-1      | #       datestamp: 2025-10-06T21:30:08Z
23:30:10 koha-1      | #       identifier: TEST:3994
23:30:10 koha-1      | #     metadata:
23:30:10 koha-1      | #       record:
23:30:10 koha-1      | #         controlfield:
23:30:10 koha-1      | #         - content: '20251006213008.0'
23:30:10 koha-1      | #           tag: '005'
23:30:10 koha-1      | #         - content: '                                  
lng'
23:30:10 koha-1      | #           tag: '008'
23:30:10 koha-1      | #         datafield:
23:30:10 koha-1      | #           ind1: ' '
23:30:10 koha-1      | #           ind2: ' '
23:30:10 koha-1      | #           subfield:
23:30:10 koha-1      | #           - code: c
23:30:10 koha-1      | #             content: '3994'
23:30:10 koha-1      | #           - code: d
23:30:10 koha-1      | #             content: '2293'
23:30:10 koha-1      | #           tag: '999'
23:30:10 koha-1      | #         leader: 00178    a2200085   4500
23:30:10 koha-1      | #         xmlns: http://www.loc.gov/MARC21/slim
23:30:10 koha-1      | #         xmlns:xsi:
http://www.w3.org/2001/XMLSchema-instance
23:30:10 koha-1      | #         xsi:schemaLocation:
http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd
23:30:10 koha-1      | #   - header:
23:30:10 koha-1      | #       datestamp: 2025-10-06T21:30:08Z
23:30:10 koha-1      | #       identifier: TEST:3995
23:30:10 koha-1      | #     metadata:
23:30:10 koha-1      | #       record:
23:30:10 koha-1      | #         controlfield:
23:30:10 koha-1      | #         - content: '20251006213008.0'
23:30:10 koha-1      | #           tag: '005'
23:30:10 koha-1      | #         - content: '                                  
lng'
23:30:10 koha-1      | #           tag: '008'
23:30:10 koha-1      | #         datafield:
23:30:10 koha-1      | #           ind1: ' '
23:30:10 koha-1      | #           ind2: ' '
23:30:10 koha-1      | #           subfield:
23:30:10 koha-1      | #           - code: c
23:30:10 koha-1      | #             content: '3995'
23:30:10 koha-1      | #           - code: d
23:30:10 koha-1      | #             content: '2294'
23:30:10 koha-1      | #           tag: '999'
23:30:10 koha-1      | #         leader: 00178    a2200085   4500
23:30:10 koha-1      | #         xmlns: http://www.loc.gov/MARC21/slim
23:30:10 koha-1      | #         xmlns:xsi:
http://www.w3.org/2001/XMLSchema-instance
23:30:10 koha-1      | #         xsi:schemaLocation:
http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd
23:30:10 koha-1      | #   resumptionToken:
23:30:10 koha-1      | #     content: marcxml/3////0/0/3996
23:30:10 koha-1      | #     cursor: '3'
23:30:10 koha-1      | # request: http://localhost
23:30:10 koha-1      | # xmlns: http://www.openarchives.org/OAI/2.0/
23:30:10 koha-1      | # xmlns:xsi: http://www.w3.org/2001/XMLSchema-instance
23:30:10 koha-1      | # xsi:schemaLocation:
http://www.openarchives.org/OAI/2.0/
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd


And other similar failures.

-- 
You are receiving this mail because:
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/

Reply via email to