You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same problem here. The solution provided by @QuarkWave does the trick for me. I can not provide the CSV file of my current use case, because there are address data in it.
Expected behavior
First, thanks for this extension, without it i would havn't been able to migrate to Pimcore X.
Issue :
When importing a file the process should be able to deal with anything we through at it without crashing
Actual behavior
Errors ... because
json_encode
return anull
when a non UTF-8 character is present and the following methods are waiting for an array so it failedSteps to reproduce
Import any CSV with a non UTF-8 character (like an nonbreaking space , asian currency sign, ...)
Solution ?
Adjust processImportRow in AbstractInterpreter.php
from :
$this->queueService->addItemToQueue($this->configName, $this->executionType, ImportProcessingService::JOB_TYPE_PROCESS, json_encode($data));
to :
$this->queueService->addItemToQueue($this->configName, $this->executionType, ImportProcessingService::JOB_TYPE_PROCESS, json_encode($data, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES));
The text was updated successfully, but these errors were encountered: