[Koha-bugs] [Bug 21597] Test suite is still failing with new default SQL modes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 18 15:04:37 CEST 2018


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

--- Comment #15 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 80830
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80830&action=edit
Bug 21597: Field 'amount' doesn't have a default value

Fix t/db_dependent/Accounts.t

Default value could be 0, or left as it.
It seems that the different initialisation we have in the code pass a
value for 'amount'

account_offsets.amount
  `amount` decimal(26,6) NOT NULL,

DBIx::Class::Storage::DBI::_dbh_execute(): Field 'amount' doesn't
have a default value at /home/vagrant/kohaclone/Koha/Object.pm line 125

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list