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
I have facing this issue when adding a new field in category using 2.1 version of Akeneo i spent lot of time on that but not able to fix please help on that.
Thanks,
The text was updated successfully, but these errors were encountered:
The above issue is occured due to the DependencyInjection. In order to fix this issue follow the below instructions,
Creating an Extension Class:
It has to live in the DependencyInjection namespace of the bundle;
It has to implement the ExtensionInterface, which is usually achieved by extending the Extension class;
The name is equal to the bundle name with the Bundle suffix replaced by Extension (e.g. the Extension class of the AcmeBundle would be called AcmeExtension and the one for AcmeCatalogBundle would be called AcmeCatalogExtension).
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
class AcmeCatalogExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
{
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('entities.yml');
}
}`
Hi All,
I have facing this issue when adding a new field in category using 2.1 version of Akeneo i spent lot of time on that but not able to fix please help on that.
Thanks,
The text was updated successfully, but these errors were encountered: