Skip to content
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

Integrated category & Integrated product Class are not created. #14

Closed
nishantjariwala opened this issue Jun 12, 2019 · 3 comments
Closed

Comments

@nishantjariwala
Copy link

nishantjariwala commented Jun 12, 2019

Hello,
I've installed pimcore-magento2-bridge extension but it doesn't create IntegratedCategory & IntegratedProduct class after installation.
Also, I got below error after execution of bin/console pimcore:bundle:install DivanteMagentoIntegrationBundle with pimcore 5.8 version.

Stack trace:

#0 /var/www/html/pim-ecom/vendor/divanteltd/pimcoredevkit/src/PimcoreDevkitBundle/Service/InstallerService.php(169): Pimcore\Model\DataObject\ClassDefinition::getByName('integrationConf...')
#1 /var/www/html/pim-ecom/vendor/divanteltd/pimcoredevkit/src/PimcoreDevkitBundle/Service/InstallerService.php(157): PimcoreDevkitBundle\Service\InstallerService->createClassDefinitionFromString('integrationConf...', '{\n "id": "4"...')
#2 /var/www/html/pim-ecom/vendor/divante-ltd/pimcore-magento2-bridge/src/Divante/MagentoIntegrationBundle/Migrations/Installer.php(72): PimcoreDevkitBundle\Service\InstallerService->createClassDefinition('integrationConf...', '/var/www/html/p...')
#3 /var/www/html/pim-ecom/vendor/pimcore/pimcore/lib/Migrations/Migration/InstallMigration.php(44): Divante\MagentoIntegrationBundle\Migrations\Installer->migrateInstall(Object(ProxyManagerGeneratedProxy_PM_\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab), Object(Pimcore\Migrations\InstallVersion))
#4 /var/www/html/pim-ecom/vendor/pimcore/pimcore/lib/Migrations/Version.php(312): Pimcore\Migrations\Migration\InstallMigration->up(Object(ProxyManagerGeneratedProxy_PM_\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab))
#5 /var/www/html/pim-ecom/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Migration.php(172): Pimcore\Migrations\Version->execute('up', false, false)
#6 /var/www/html/pim-ecom/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(351): Doctrine\DBAL\Migrations\Migration->migrate('00000001', false)
#7 /var/www/html/pim-ecom/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(145): Pimcore\Extension\Bundle\Installer\MigrationInstaller->executeInstallMigration(true)
#8 /var/www/html/pim-ecom/vendor/pimcore/pimcore/lib/Extension/Bundle/PimcoreBundleManager.php(484): Pimcore\Extension\Bundle\Installer\MigrationInstaller->install()
#9 /var/www/html/pim-ecom/vendor/pimcore/pimcore/bundles/CoreBundle/Command/Bundle/InstallCommand.php(45): Pimcore\Extension\Bundle\PimcoreBundleManager->install(Object(Divante\MagentoIntegrationBundle\DivanteMagentoIntegrationBundle))
#10 /var/www/html/pim-ecom/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/pim-ecom/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(987): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/pim-ecom/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(86): Symfony\Component\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/pim-ecom/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(255): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/pim-ecom/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(74): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/pim-ecom/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/pim-ecom/bin/console(26): Symfony\Component\Console\Application->run()
#17 {main}
Migration 00000001 was executed but did not result in any SQL statements.

++ migrated (1.14s)


++ finished in 1.14s
++ 1 migrations executed
++ 0 sql queries

Can you please help me to fix this thing?

Thanks

@nishantjariwala nishantjariwala changed the title Integrated category & Integrated product Object are not created. Integrated category & Integrated product Class are not created. Jun 12, 2019
@mbolka
Copy link
Contributor

mbolka commented Jun 28, 2019

Hi!
Thank you for your report. Can you verify if in the newest version 1.1.0 problem still occurs?
It supports Pimcore 6.x now.
Please keep in mind that in 5.x exception will be thrown anyway, but classes should be installed.

@mbolka
Copy link
Contributor

mbolka commented Jul 19, 2019

@nishantjariwala Can you confirm if the problem still occurs?

@mbolka
Copy link
Contributor

mbolka commented Sep 30, 2019

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version.

Please reopen if you still encounter this issue with the 1.2.0 and then please ireport issue. You can also contribute directly by providing a patch.
Thank you!

@mbolka mbolka closed this as completed Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants