This topic contains 13 replies, has 4 voices, and was last updated by kiatsiong.ng 5 years, 1 month ago.
- Topic
hi there, totally new to oro and symfony, after making the first tutorial on extending the navigation menu i went on trying out the “simple crud tutorial” i am now at the point where the /inventory/vehicle route shows an empty list, but when clicking on the “create new” button “Could not load type “inventory_vehicle”” occurs
is there a cli command that need to be executed to scan for DependencyInjection?
-> because when inserting an error in the extension.php class or throwing an exception does not do anything, so i suspect the DependencyInjection is not scanned via cache:clear but through some other mysterious cli action?totally nice framework you put up there, some hints for non symfony cracks would be helpful e.g. how to include $loader in the dependency injection
12345678910111213141516<?php// src/LegalTech/NewBundle/DependencyInjection/InventoryExtension.php;namespace LegalTech\NewBundle\DependencyInjection;use Symfony\Component\DependencyInjection\Loader;// ... bsdfgsdfgsdrgfclass NewBundleExtension extends Extension{public function load(array $configs, ContainerBuilder $container){$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));$loader->load('form.yml');}}any hint is very welcome, thank you in advance
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.