We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e19c57f commit 9176ee2Copy full SHA for 9176ee2
src/batch-symfony-console/src/RunCommandJobLauncher.php
@@ -50,6 +50,7 @@ public function __construct(
50
public function launch(string $name, array $configuration = []): JobExecution
51
{
52
$jobExecution = $this->jobExecutionFactory->create($name, $configuration);
53
+ $configuration['_id'] = $configuration['_id'] ?? $jobExecution->getId();
54
$jobExecution->setStatus(BatchStatus::PENDING);
55
$this->jobExecutionStorage->store($jobExecution);
56
0 commit comments