Skip to content

Commit 9b7c1ca

Browse files
committed
AKM-36: Unexpected fs operations for invalid products
1 parent 0d66f76 commit 9b7c1ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ImportExport/Strategy/StrategyValidationTrait.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function processValidationErrors($entity, array $validationErrors)
7272
[
7373
'%error%' => $validationError,
7474
'%item%' => json_encode(
75-
$context->getValue('rawItemData'),
75+
$this->context->getValue('rawItemData'),
7676
\JSON_UNESCAPED_SLASHES | \JSON_UNESCAPED_UNICODE
7777
),
7878
]
@@ -117,7 +117,7 @@ protected function validateBeforeProcess($entity)
117117
[
118118
'%error%' => $validationError,
119119
'%item%' => json_encode(
120-
$context->getValue('rawItemData'),
120+
$this->context->getValue('rawItemData'),
121121
\JSON_UNESCAPED_SLASHES | \JSON_UNESCAPED_UNICODE
122122
),
123123
]

0 commit comments

Comments
 (0)