Revision 7b81cb26
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/Controller/CsvImport/Base.pm | ||
---|---|---|
my $data = $params{data} || $self->controller->data;
|
||
|
||
foreach my $entry (@{ $data }) {
|
||
next if @{ $entry->{errors} };
|
||
|
||
if (!$entry->{object}->save) {
|
||
push @{ $entry->{errors} }, $::locale->text('Error when saving: #1', $entry->{object}->db->error);
|
||
} else {
|
Auch abrufbar als: Unified diff
Einträge mit Fehlern nicht importieren