[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 30 11:28:16 CEST 2020


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

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

--- Comment #159 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 102071
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102071&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

About the change to Object.t: the next store was called without the
generated timestamp, so it is needed to call discard_changes.

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


More information about the Koha-bugs mailing list