[Koha-bugs] [Bug 23463] Move C4::Items CRUD subroutines to Koha::Item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 23 17:24:04 CET 2020


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

--- Comment #158 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 101476
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101476&action=edit
Bug 23463: (follow-up 3) Fix timestamp default value

This is the only situation I found where:
 * t/db_dependent/Koha/Item.t is passing
 * t/db_dependent/Koha/Object.t is passing
 * MySQL 8 is happy (and not fail with "Column 'timestamp' cannot be null"),
which is certainly what I missed in the previous follow-up

I think we should remove the lines from the overloaded ->store method
(Item and Patron), but then we need Object.t to be adjusted.
I do not understand why we would need to set updated_on, maybe the test
is wrong?

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


More information about the Koha-bugs mailing list