[Koha-bugs] [Bug 20447] Add support for MARC holdings records

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 7 22:51:55 CEST 2020


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

--- Comment #239 from Michal Denar <black23 at gmail.com> ---
Created attachment 109715
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109715&action=edit
Bug 20447: (follow-up) Add required metadata field when creating holdings

Since metadata column is mandatory in the holdings_metadata table we
need to define it already when it is first created instead of creating it
first and updating the column immediately after.

This fixes the following error during holdings record creation:
DBIx::Class::Storage::DBI::_dbh_execute(): Field 'metadata' doesn't have a
default value at /kohadevbox/koha/Koha/Objects.pm line 114

Signed-off-by: Michal Denar <black23 at gmail.com>

Signed-off-by: Michal Denar <black23 at gmail.com>

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


More information about the Koha-bugs mailing list