[Koha-bugs] [Bug 21756] Remove C4::Accounts::manualinvoice (use Koha::Account->add_debit instead)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 20 16:35:24 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21756
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
--- Comment #36 from Josef Moravec <josef.moravec at gmail.com> ---
I am sorry, but the tests are still not passing:
t/db_dependent/Koha/Patrons.t .. 10/33 DBD::mysql::st execute failed: Field
'type' doesn't have a default value [for Statement "INSERT INTO
`account_offsets` ( `amount`, `debit_id`) VALUES ( ?, ? )" with ParamValues:
0=5.000000, 1='68'] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
# No tests run!
# Failed test 'No tests run for subtest "add_enrolment_fee_if_needed"'
# at t/db_dependent/Koha/Patrons.t line 473.
t/db_dependent/Koha/Holds.t .. DBD::mysql::st execute failed: Cannot add or
update a child row: a foreign key constraint fails
(`koha_kohadev`.`account_offsets`, CONSTRAINT `account_offsets_ibfk_t` FOREIGN
KEY (`type`) REFERENCES `account_offset_types` (`type`) ON DELETE CASCADE ON
UPDATE CASCADE) [for Statement "INSERT INTO `account_offsets` ( `amount`,
`debit_id`, `type`) VALUES ( ?, ?, ? )" with ParamValues: 0=42, 1='69', 2='Hold
Expired'] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
# Looks like you planned 4 tests but ran 3.
# Failed test 'charge_cancel_fee parameter'
# at t/db_dependent/Koha/Holds.t line 134.
I think that some new values should be added to account_offset_types...
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list