20 May
2022
20 May
'22
8:50 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30790 --- Comment #11 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Julian Maurice from comment #10)
(In reply to Marcel de Rooy from comment #8)
+ $schema->resultset('Biblio')->delete(); What is wrong with this ? It's in the tests, inside a transaction.
We try to avoid direct DBIx stuff when having an Koha object. Yes, this may be faster. But Koha objects abstract the DBIx. So here you could simply do Koha::Biblios->delete. Like: t/db_dependent/HoldsQueue.t: Koha::Biblios->delete(); But found: t/db_dependent/Koha/BiblioUtils/Iterator.t:$schema->resultset('Biblio')->delete(); -- You are receiving this mail because: You are watching all bug changes.