Revision 067d87c8
Von Bernd Bleßmann vor etwa 7 Jahren hinzugefügt
SL/Controller/CsvImport.pm | ||
---|---|---|
359 | 359 |
return $self->action_new; |
360 | 360 |
} |
361 | 361 |
|
362 |
# save tempory profile |
|
363 |
$self->profile($self->profile->clone_and_reset_deep)->save; |
|
364 |
|
|
362 | 365 |
$self->{background_job} = SL::BackgroundJob::CsvImport->create_job( |
363 | 366 |
file => $self->csv_file_name, |
364 |
profile => $self->profile,
|
|
367 |
profile_id => $self->profile->id,
|
|
365 | 368 |
type => $self->profile->type, |
366 | 369 |
test => $params{test}, |
367 | 370 |
employee_id => SL::DB::Manager::Employee->current->id, |
Auch abrufbar als: Unified diff
CsvImport: Controller erzeugt temporäres Profil, nicht der Hintergrund-Job.