Revision 6c9ab8b5
Von Sven Schöling vor fast 12 Jahren hinzugefügt
SL/BackgroundJob/CsvImport.pm | ||
---|---|---|
74 | 74 |
plan => { |
75 | 75 |
'parsing csv' => 1, |
76 | 76 |
'building data' => 2, |
77 |
( 'saving data' => 3, )x!!$test,
|
|
77 |
( 'saving data' => 3, )x!$test, |
|
78 | 78 |
'building report' => ($test ? 3 : 4), |
79 | 79 |
}, |
80 | 80 |
num_phases => ($test ? 3 : 4), |
... | ... | |
82 | 82 |
$c->add_progress_tracker($self); |
83 | 83 |
|
84 | 84 |
|
85 |
$c->test_and_import(test => 1, session_id => $job->data_as_hash->{session_id});
|
|
85 |
$c->test_and_import(test => $test, session_id => $job->data_as_hash->{session_id});
|
|
86 | 86 |
|
87 | 87 |
if ($c->errors) { |
88 | 88 |
$job->set_data( |
Auch abrufbar als: Unified diff
test korrekt mitschleifen