@@ -, +, @@ status too --- Koha/BackgroundJob.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Koha/BackgroundJob.pm +++ a/Koha/BackgroundJob.pm @@ -246,7 +246,7 @@ Makes the job record as finished. If the job status is I, it is kept. sub finish { my ( $self, $data ) = @_; - $self->status('finished') unless $self->status eq 'cancelled'; + $self->status('finished') unless $self->status eq 'cancelled' or $self->status eq 'failed'; return $self->set( { --