fix: record json_coding step and forward serialNumber in JsonCodingHandler
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
49e36a0a06
commit
8a22be7ba5
1 changed files with 4 additions and 0 deletions
|
|
@ -41,11 +41,15 @@ final class JsonCodingHandler
|
||||||
|
|
||||||
$attributes = $this->jsonAgent->encode($articleType, $message->specsText, $message->missingFields);
|
$attributes = $this->jsonAgent->encode($articleType, $message->specsText, $message->missingFields);
|
||||||
|
|
||||||
|
$job->recordStep('json_coding', ['attributes' => $attributes]);
|
||||||
|
$this->jobRepository->save($job);
|
||||||
|
|
||||||
$this->bus->dispatch(new ValidationMessage(
|
$this->bus->dispatch(new ValidationMessage(
|
||||||
jobId: $message->jobId,
|
jobId: $message->jobId,
|
||||||
articleTypeId: $message->articleTypeId,
|
articleTypeId: $message->articleTypeId,
|
||||||
specsText: $message->specsText,
|
specsText: $message->specsText,
|
||||||
attributes: $attributes,
|
attributes: $attributes,
|
||||||
|
serialNumber: $message->serialNumber,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue