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

--- Comment #5 from David Bourgault <david.bourga...@inlibro.com> ---
So this fails for me.

I get failed test messages that look like this:

    #   Failed test 'exact match for JSON Pointer "/0/firstname"'
    #   at t/db_dependent/Koha/REST/Plugin/Objects.t line 168.
    #          got: 'Emmanuel'
    #     expected: 'Manuel'


But I also get this error at the beginning of the prove command:

t/db_dependent/Koha/REST/Plugin/Objects.t .. DBD::mysql::st execute failed:
Cannot delete or update a parent row: a foreign key constraint fails
(`koha_master_dev_inlibro`.`issues`, CONSTRAINT `issues_ibfk_1` FOREIGN KEY
(`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`) ON UPDATE CASCADE)
[for Statement "DELETE FROM `borrowers`"] at
/usr/local/share/perl/5.22.1/DBIx/Class/Storage/DBI.pm line 1836.
No method delete found for Koha::Patrons
DBIx::Class::Storage::DBI::_dbh_execute(): Cannot delete or update a parent
row: a foreign key constraint fails (`koha_master_dev_inlibro`.`issues`,
CONSTRAINT `issues_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES
`borrowers` (`borrowernumber`) ON UPDATE CASCADE) at
/inlibro/git/koha-master-dev-inlibro/Koha/Objects.pm line 388
 at t/db_dependent/Koha/REST/Plugin/Objects.t line 76.

Is this a patch error or could it be a DB error?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to