View | Details | Raw Unified | Return to bug 29387
Collapse All | Expand All

(-)a/Koha/BackgroundJob/BatchCancelHold.pm (-1 / +1 lines)
Lines 94-100 sub process { Link Here
94
                biblio_id    => defined $biblio ? $biblio->biblionumber : '',
94
                biblio_id    => defined $biblio ? $biblio->biblionumber : '',
95
                hold_id      => $hold_id,
95
                hold_id      => $hold_id,
96
                error        => defined $hold
96
                error        => defined $hold
97
                ? ( $@ ? $@ : 0 )
97
                ? ( $@ ? "$@" : 0 )
98
                : 'hold_not_found',
98
                : 'hold_not_found',
99
              };
99
              };
100
        }
100
        }
(-)a/Koha/BackgroundJob/BatchDeleteAuthority.pm (-1 / +1 lines)
Lines 57-63 sub process { Link Here
57
                type => 'error',
57
                type => 'error',
58
                code => 'authority_not_deleted',
58
                code => 'authority_not_deleted',
59
                authid => $authid,
59
                authid => $authid,
60
                error => ($@ ? $@ : 0),
60
                error => "$@",
61
            };
61
            };
62
            $schema->storage->txn_rollback;
62
            $schema->storage->txn_rollback;
63
            next;
63
            next;
(-)a/Koha/BackgroundJob/BatchDeleteBiblio.pm (-1 / +1 lines)
Lines 101-107 sub process { Link Here
101
                    code => 'reserve_not_cancelled',
101
                    code => 'reserve_not_cancelled',
102
                    biblionumber => $biblionumber,
102
                    biblionumber => $biblionumber,
103
                    reserve_id => $hold->reserve_id,
103
                    reserve_id => $hold->reserve_id,
104
                    error => $@,
104
                    error => "$@",
105
                };
105
                };
106
                $schema->storage->txn_rollback;
106
                $schema->storage->txn_rollback;
107
                $job->progress( ++$job_progress )->store;
107
                $job->progress( ++$job_progress )->store;
(-)a/Koha/BackgroundJob/BatchUpdateAuthority.pm (-2 / +1 lines)
Lines 90-96 sub process { Link Here
90
                type => 'error',
90
                type => 'error',
91
                code => 'authority_not_modified',
91
                code => 'authority_not_modified',
92
                authid => $authid,
92
                authid => $authid,
93
                error => ($@ ? $@ : 0),
93
                error => ($@ ? "$@" : 0),
94
            };
94
            };
95
        } else {
95
        } else {
96
            push @messages, {
96
            push @messages, {
97
- 

Return to bug 29387