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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 8 09:12:41 CEST 2020


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

Ere Maijala <ere.maijala at helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #109715|0                           |1
        is obsolete|                            |

--- Comment #247 from Ere Maijala <ere.maijala at helsinki.fi> ---
Created attachment 109722
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109722&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>

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


More information about the Koha-bugs mailing list