Skip to content

Commit

Permalink
bug #1028 do not compile the bundle class (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Discussion
----------

do not compile the bundle class

Adding the bundle class to the list of compiled classes breaks locating bundle resources (due to how the `getPath()` method is implemented in the base `Bundle` class in the HttpKernel component: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/Bundle/Bundle.php#L119-L127).

This fixes #1027.

Commits
-------

c199e2e do not compile the bundle class
  • Loading branch information
javiereguiluz committed Mar 23, 2016
2 parents 56f5637 + c199e2e commit 13fc098
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion DependencyInjection/EasyAdminExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public function load(array $configs, ContainerBuilder $container)

// compile commonly used classes
$this->addClassesToCompile(array(
'JavierEguiluz\\Bundle\\EasyAdminBundle\\EasyAdminBundle',
'JavierEguiluz\\Bundle\\EasyAdminBundle\\Controller\\AdminController',
'JavierEguiluz\\Bundle\\EasyAdminBundle\\Event\\EasyAdminEvents',
'JavierEguiluz\\Bundle\\EasyAdminBundle\\Configuration\\Configurator',
Expand Down

0 comments on commit 13fc098

Please sign in to comment.