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

--- Comment #336 from Joonas Kylmälä <[email protected]> ---
Created attachment 115244
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115244&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

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

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to