[Koha-bugs] [Bug 24213] Koha::Object->get_from_storage should return undef if the object has been deleted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 11 09:41:12 CET 2019


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

--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 96180
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96180&action=edit
Bug 24213: Fix Koha::Object->get_from_storage if the object has been deleted

Without this patch it fails with something like:
  DBIC result _type  isn't of the _type Subscription at t/db_dependent/Biblio.t
line 627.

Test plan:
- Apply the first patch (Add tests)
- Confirm that they fail
- Apply this patch
- Confirm that the tests pass

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


More information about the Koha-bugs mailing list