Revision b2930e37
Von Sven Schöling vor fast 12 Jahren hinzugefügt
SL/Controller/CsvImport.pm | ||
---|---|---|
93 | 93 |
flash('error', $::locale->text('There was an error parsing the csv file: #1 in line #2.', $first_error->[2], $first_error->[0])); |
94 | 94 |
} |
95 | 95 |
|
96 |
if (!$data->{progress}{finished}) { |
|
97 |
$self->render('csv_import/_deferred_results', { no_layout => 1 }); |
|
98 |
} else { |
|
96 |
if ($data->{progress}{finished} || $data->{errors}) { |
|
99 | 97 |
$self->action_report(report_id => $data->{report_id}, no_layout => 1); |
98 |
} else { |
|
99 |
$self->render('csv_import/_deferred_results', { no_layout => 1 }); |
|
100 | 100 |
} |
101 | 101 |
} |
102 | 102 |
|
Auch abrufbar als: Unified diff
Fehler korrekt weiterleiten