[Koha-bugs] [Bug 21684] Koha::Object[s]->delete methods must behave identically as the corresponding DBIx::Class ones

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 7 14:28:31 CET 2020


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

--- Comment #29 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #25)
> #   Failed test 'Test delete via UploadedFile as well as UploadedFiles'
> #   at t/db_dependent/Upload.t line 193.
> DBIx::Class::Row::delete(): Not in database at
> /kohadevbox/koha/Koha/Object.pm line 219
> 
> Failing test, the previous test was expecting 0E0 if the delete failed, now
> it raises an exception. I think we can simply adjust the test accordingly.

Yes, we should bring that in line with the changed delete subs. The subroutines
in UploadedFile[s] also need attention..

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


More information about the Koha-bugs mailing list