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 70b7e8f commit 3913624
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 3913624

Please sign in to comment.