[Koha-bugs] [Bug 30790] Add REST API route to list biblios

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 20 10:26:48 CEST 2022


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

--- Comment #15 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Marcel de Rooy from comment #14)
> (In reply to Marcel de Rooy from comment #13)
> > Seeing this too:
> > 
> > #   Failed test 'No tests run for subtest "get() tests"'
> > #   at t/db_dependent/api/v1/biblios/list.t line 89.
> > DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
> > execute failed: Cannot delete or update a parent row: a foreign key
> > constraint fails (`koha_myclone`.`issues`, CONSTRAINT `issues_ibfk_2`
> > FOREIGN KEY (`itemnumber`) REFERENCES `items` (`itemnumber`) ON UPDATE
> > CASCADE) at t/db_dependent/api/v1/biblios/list.t line 48
> 
> Yes, when you delete biblios there could still be issues !

You might better consider adding a few biblios without deleting them all btw.
And adjusting your queries based on that situation?

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


More information about the Koha-bugs mailing list