[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 11:51:38 CET 2020


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |additional_work_needed
         Depends on|                            |17669

--- Comment #25 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
#   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.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17669
[Bug 17669] Add purging temporary uploads to cleanup_database
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list