@@ -, +, @@ has been deleted DBIC result _type isn't of the _type Subscription at t/db_dependent/Biblio.t line 627. - Apply the first patch (Add tests) - Confirm that they fail - Apply this patch - Confirm that the tests pass --- Koha/Object.pm | 1 + 1 file changed, 1 insertion(+) --- a/Koha/Object.pm +++ a/Koha/Object.pm @@ -280,6 +280,7 @@ sub unblessed { sub get_from_storage { my ( $self, $attrs ) = @_; my $stored_object = $self->_result->get_from_storage($attrs); + return unless $stored_object; my $object_class = Koha::Object::_get_object_class( $self->_result->result_class ); return $object_class->_new_from_dbic($stored_object); } --