[Koha-bugs] [Bug 20176] Set biblio.datecreated to NOW if not defined
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 14 18:37:58 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20176
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Failed QA |Signed Off
--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Julian Maurice from comment #2)
> There are other places where the default values are enforced in 'store'
> subroutine (Koha::Patron::Category for example). Why does this patch enforce
> a default value in 'new' subroutine ?
There is no default value defined at DB level (and cannot) so ->new will
explode:
DBIx::Class::Storage::DBI::_dbh_execute(): Field 'datecreated' doesn't have a
default value at /home/vagrant/kohaclone/Koha/Object.pm line 124
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list