[Koha-bugs] [Bug 26365] New: Koha/Acquisition/Order.t is failing with MySQL 8

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 3 11:56:04 CEST 2020


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

            Bug ID: 26365
           Summary: Koha/Acquisition/Order.t is failing with MySQL 8
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org

t/db_dependent/Koha/Acquisition/Order.t .. 10/11 No method count found for
Koha::Acquisition::Orders DBIx::Class::Storage::DBI::_dbh_execute(): DBI
Exception: DBD::mysql::st execute failed: Incorrect DATE value: '0000-00-00'
[for Statement "SELECT COUNT( * ) FROM `aqorders` `me` WHERE ( ( (
`datecancellationprinted` IS NULL OR `datecancellationprinted` = ? ) AND
`ordernumber` IN ( ?, ?, ? ) ) )" with ParamValues: 0='0000-00-00', 1=23, 2=24,
3=25] at /kohadevbox/koha/Koha/Objects.pm line 597

We must remove the comparison with 0000-00-00

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list