[Koha-bugs] [Bug 30805] New: Missing default value on import_records.marxml_old

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 19 09:55:05 CEST 2022


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

            Bug ID: 30805
           Summary: Missing default value on import_records.marxml_old
 Change sponsored?: ---
           Product: Koha
           Version: 20.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 20144

We fixed a ton of missing default values on bug 20144, I believe this one might
be another to fix:

import DBD::mysql::st execute failed: Field 'marcxml_old' doesn't have a
default value [for Statement "INSERT INTO import_records (import_batch_id,
record_sequence, marc, marcxml, 
                                                         record_type, encoding,
z3950random)

We see this error in an older version after the latest Debian update with a new
MariaDB version, but in master we still have:

`marcxml` longtext COLLATE utf8mb4_unicode_ci NOT NULL,


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20144
[Bug 20144] Test suite is failing with new default SQL modes
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list