[Koha-bugs] [Bug 23916] Issuer should be recorded and visible in patron circulation history
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Oct 23 02:20:25 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23916
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
--- Comment #73 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I am sorry, but I can't get the tests to pass... updatedatabase, dbic,
reset_all.. and still:
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Cannot add or update a child row: a foreign key constraint
fails (`koha_kohadev`.`items`, CONSTRAINT `items_ibfk_3` FOREIGN KEY
(`holdingbranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE) [for
Statement "UPDATE `items` SET `datelastborrowed` = ?, `holdingbranch` = ?,
`issues` = ?, `onloan` = ? WHERE ( `itemnumber` = ? )" with ParamValues:
0='2020-10-22', 1="Branch4T", 2=1, 3='2020-10-21', 4=990] at
/home/vagrant/kohaclone/Koha/Object.pm line 169
# No tests run!
t/db_dependent/Koha/Patrons.t .... 28/41
# Failed test 'No tests run for subtest "get_overdues"'
# at t/db_dependent/Koha/Patrons.t line 1454.
Broken FK constraint# Looks like your test exited with 2 just after 28.
t/db_dependent/Koha/Patrons.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 14/41 subtests
Test Summary Report
-------------------
t/db_dependent/Circulation.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 51 tests but ran 0.
t/db_dependent/Koha/Patrons.t (Wstat: 512 Tests: 28 Failed: 1)
Failed test: 28
Non-zero exit status: 2
Parse errors: Bad plan. You planned 41 tests but ran 28.
They pass on the same db on master :(
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list