-
Notifications
You must be signed in to change notification settings - Fork 59
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
Unable to active DataDefinitions after Pimcore update to 11.x #410
Comments
@Hbitvof Make sure to require |
I have the require in my composer.json, this part is working. I see you give another path than the installation instruction gives. I get another error now: 13:17:08 CRITICAL [console] Error thrown while running command "pimcore:bundle:install DataDefinitionsBundle". Message: "You have requested a non-existent service "Instride\Bundle\DataDefinitionsBundle\Installer"." ["exception" => Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException^ { …},"command" => "pimcore:bundle:install DataDefinitionsBundle","message" => "You have requested a non-existent service "Instride\Bundle\DataDefinitionsBundle\Installer"."] In Container.php line 263: You have requested a non-existent service "Instride\Bundle\DataDefinitionsBundle\Installer". Is there still something wrong with the path you provide? |
@Hbitvof That's weird, seems there's something off in your installation. As you can see here, the service Installer should be registered. Have you tried clearing cache or re-installing DataDefinitions? PS: I am using DataDefinitions successfully in production with Pimcore 11, so there shouldn't be any issue with the bundle itself. |
I cleared cache and did a re-install of DataDefinitions. What things can I check more to get this working? Do you have clue what this can be in my config? |
@Hbitvof Are there any files under |
For some strange reason the icons appeared after installing some other bundles like the ProcessManager Bundle (https://github.com/dpfaffenbauer/ProcessManager), same original builder as DataDefinitions). The next issue I have is I can't add anything. The Add button is not responding and all my current import- and export configurations are missing: What can cause this issue? |
It seems I am not the only one who has this issue, see #400 Please let me know what to do to get this working when upgrading from 10.x. |
I will start a new issue specific for the migration/save part. |
@aarongerig I have the same problem. I have completed all the steps in the installation guide. Additionally, files are present in the directory My JS console output: file
file
|
Exact same situation as above with v11.2.3 (clean install, not upgraded). Stuck at missing add buttons for import/export definitions. |
We are in the process of updating Pimcore from version 10.6 to 11.x. Everything is working so far but we are not able to active DataDefinitions (we use is in 10.x and below).
After adding Instride\DataDefinitionsBundle\DataDefinitionsBundle::class => ['all' => true], to bundles.php we get the following error when running
bin/console pimcore:bundle:install DataDefinitionsBundle
:PHP Fatal error: Uncaught Error: Class "Instride\DataDefinitionsBundle\DataDefinitionsBundle" not found in /var/www/html/pimcore/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php:136
Stack trace:
#0 /var/www/html/pimcore/vendor/pimcore/pimcore/lib/Kernel.php(188): Pimcore\Kernel->microKernelRegisterBundles()
#1 /var/www/html/pimcore/vendor/symfony/http-kernel/Kernel.php(346): Pimcore\Kernel->registerBundles()
#2 /var/www/html/pimcore/vendor/symfony/http-kernel/Kernel.php(762): Symfony\Component\HttpKernel\Kernel->initializeBundles()
#3 /var/www/html/pimcore/vendor/symfony/http-kernel/Kernel.php(126): Symfony\Component\HttpKernel\Kernel->preBoot()
#4 /var/www/html/pimcore/vendor/pimcore/pimcore/lib/Kernel.php(140): Symfony\Component\HttpKernel\Kernel->boot()
#5 /var/www/html/pimcore/vendor/pimcore/pimcore/lib/Bootstrap.php(215): Pimcore\Kernel->boot()
#6 /var/www/html/pimcore/vendor/pimcore/pimcore/lib/Bootstrap.php(60): Pimcore\Bootstrap::kernel()
#7 /var/www/html/pimcore/bin/console(47): Pimcore\Bootstrap::startupCli()
#8 {main}
thrown in /var/www/html/pimcore/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php on line 136
Is this a known issue or is there something wrong in our config? We are able to active other bundles like Web2print.
The text was updated successfully, but these errors were encountered: