https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23463 --- Comment #100 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 101185 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101185&action=edit Bug 23463: Fix timestamp default value This sounds wrong as we should let the DBMS do that, but it was failing. Here we are doing the same as Koha::Patron->store for dateenrolled To recreate the failure, prove t/db_dependent/Koha/Item.t without this patch: DBD::mysql::st execute failed: Column 'timestamp' cannot be null [for Statement "UPDATE `items` SET `more_subfields_xml` = ?, `timestamp` = ? WHERE ( `itemnumber` = ? )" with ParamValues: 0='<?xml version="1.0" encoding="UTF-8"?> Signed-off-by: Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Signed-off-by: Nick Clemens <nick@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.