Skip to content

Commit 897e5aa

Browse files
ENGCOM-4531: Fill data_hash from BULK response with correct data #21815
- Merge Pull Request #21815 from silyadev/magento2:data_hash_for_bulk_operation - Merged commits: 1. 88b6401 2. 705416e 3. a07956c
2 parents 3c362bf + a07956c commit 897e5aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/AsynchronousOperations/Model/MassSchedule.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ public function publishMass($topicName, array $entitiesArray, $groupId = null, $
143143
$operations[] = $operation;
144144
$requestItem->setId($key);
145145
$requestItem->setStatus(ItemStatusInterface::STATUS_ACCEPTED);
146-
$requestItem->setDataHash($this->encryptor->hash($operation->getSerializedData(), Encryptor::HASH_VERSION_SHA256));
146+
$requestItem->setDataHash(
147+
$this->encryptor->hash($operation->getSerializedData(), Encryptor::HASH_VERSION_SHA256)
148+
);
147149
$requestItems[] = $requestItem;
148150
} catch (\Exception $exception) {
149151
$this->logger->error($exception);

0 commit comments

Comments
 (0)