[Koha-bugs] [Bug 34847] New: Search.t is failing if the DB has been upgraded

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 20 15:43:56 CEST 2023


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

            Bug ID: 34847
           Summary: Search.t is failing if the DB has been upgraded
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl
        Depends on: 24274
            Blocks: 34841

To recreate:
root at kohadevbox:koha$ perl /kohadevbox/misc4dev/run_tests.pl
--run-db-upgrade-only

kohadev-koha at kohadevbox:koha$ prove t/db_dependent/Search.t

[SKIP warnings]

    # Looks like you planned 94 tests but ran 44.
t/db_dependent/Search.t .. 1/3 
#   Failed test 'MARC21 + DOM'
#   at t/db_dependent/Search.t line 946.
main::run_marc21_search_tests(): DBI Exception: DBD::mysql::db do failed:
Truncated incorrect DECIMAL value: '01e' at t/db_dependent/Search.t line 945
main::END(): DBI Exception: DBD::mysql::db do failed: Truncated incorrect
DECIMAL value: '01e' at t/db_dependent/Search.t line 0
END failed--call queue aborted.
# Looks like your test exited with 11 just after 1.


Not sure how we can fix this one :-/


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24274
[Bug 24274] New installations should not contain field 01e Coded field error
(RLIN)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34841
[Bug 34841] The test suite is failing is the DB has been upgraded
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list