Skip to content

Commit

Permalink
AKM-36: Unexpected fs operations for invalid products
Browse files Browse the repository at this point in the history
  • Loading branch information
dxops committed Nov 9, 2022
1 parent 0d66f76 commit 9b7c1ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ImportExport/Strategy/StrategyValidationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected function processValidationErrors($entity, array $validationErrors)
[
'%error%' => $validationError,
'%item%' => json_encode(
$context->getValue('rawItemData'),
$this->context->getValue('rawItemData'),
\JSON_UNESCAPED_SLASHES | \JSON_UNESCAPED_UNICODE
),
]
Expand Down Expand Up @@ -117,7 +117,7 @@ protected function validateBeforeProcess($entity)
[
'%error%' => $validationError,
'%item%' => json_encode(
$context->getValue('rawItemData'),
$this->context->getValue('rawItemData'),
\JSON_UNESCAPED_SLASHES | \JSON_UNESCAPED_UNICODE
),
]
Expand Down

0 comments on commit 9b7c1ca

Please sign in to comment.