New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange ALERT during create tree structure #151
Comments
I tried to replace " ; " for " + " And now I see sometyhing like: why key use only "Ø5x8cm+ Socket" part of the whole string ? |
When I remove ' : ' it is working. Looks like colon and semicolon can not be used in path name |
Sorry for late response. You are right, the additional colons in |
We have such product structure
When I try to import product under size level in some cases I got alert and object are not created:
As You can see object exist but we got info:
[INFO] No object found for "Product:path:/Product catalog/1100 - Snake/TORE/11003 - Tech/Ø5x8cm; Socket: E27; Power: 4 W; Luminous flux: 320 lm"
and then strange array:
and then
[ALERT] Unable to process item: TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in
[INFO] --- Importing next raw data item
[INFO] No object found for "Product:path:/Product catalog/1100 - Snake/TORE/11003 - Tech/Ø5x8cm; Socket: E27; Power: 4 W; Luminous flux: 320 lm"
[INFO] Value for key field "path": Product:path:/Product catalog/1100 - Snake/TORE/11003 - Tech/Ø5x8cm; Socket: E27; Power: 4 W; Luminous flux: 320 lm -> {
" E27": "",
" Power: 4 W": "",
" Luminous flux: 320 lm": ""
}
[INFO] Value for key field "key": 101993 - TORE Bulb 4W E27 LED 320 lumen, White/si
[INFO] Value for key field "SKU": 101993
[ALERT] Unable to process item: TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /var/www/pimcore.dev/www/vendor/blackbit/data-director/lib/Pim/Item/Importer.php:6965
Stack trace:
#0 /var/www/pimcore.dev/www/vendor/blackbit/data-director/lib/Pim/Item/Importer.php(6965): strpos()
#1 /var/www/pimcore.dev/www/vendor/blackbit/data-director/lib/Pim/Item/Importer.php(553): Blackbit\DataDirectorBundle\lib\Pim\Item\Importer->getKeyConditions()
#2 /var/www/pimcore.dev/www/vendor/blackbit/data-director/lib/Pim/Item/Importmanager.php(932): Blackbit\DataDirectorBundle\lib\Pim\Item\Importer->import()
#3 /var/www/pimcore.dev/www/vendor/blackbit/data-director/lib/Pim/Item/Importmanager.php(640): Blackbit\DataDirectorBundle\lib\Pim\Item\Importmanager->processChunk()
#4 /var/www/pimcore.dev/www/vendor/blackbit/data-director/Command/ImportPimCommand.php(309): Blackbit\DataDirectorBundle\lib\Pim\Item\Importmanager->importDataport()
#5 /var/www/pimcore.dev/www/vendor/blackbit/data-director/Command/ImportPimCommand.php(202): Blackbit\DataDirectorBundle\Command\ImportPimCommand::import()
#6 /var/www/pimcore.dev/www/vendor/symfony/console/Command/Command.php(326): Blackbit\DataDirectorBundle\Command\ImportPimCommand->execute()
#7 /var/www/pimcore.dev/www/vendor/symfony/console/Application.php(1096): Symfony\Component\Console\Command\Command->run()
#8 /var/www/pimcore.dev/www/vendor/symfony/framework-bundle/Console/Application.php(126): Symfony\Component\Console\Application->doRunCommand()
#9 /var/www/pimcore.dev/www/vendor/symfony/console/Application.php(324): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand()
#10 /var/www/pimcore.dev/www/vendor/symfony/framework-bundle/Console/Application.php(80): Symfony\Component\Console\Application->doRun()
#11 /var/www/pimcore.dev/www/vendor/symfony/console/Application.php(175): Symfony\Bundle\FrameworkBundle\Console\Application->doRun()
#12 /var/www/pimcore.dev/www/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(49): Symfony\Component\Console\Application->run()
#13 /var/www/pimcore.dev/www/vendor/autoload_runtime.php(29): Symfony\Component\Runtime\Runner\Symfony\ConsoleApplicationRunner->run()
#14 /var/www/pimcore.dev/www/bin/console(20): require_once('...')
The text was updated successfully, but these errors were encountered: