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

if DiExtraBundle not available, JMSSerializer crash #392

Closed
asquel opened this issue May 30, 2014 · 1 comment
Closed

if DiExtraBundle not available, JMSSerializer crash #392

asquel opened this issue May 30, 2014 · 1 comment

Comments

@asquel
Copy link

asquel commented May 30, 2014

If you uninstall DiExtraBundle, you get this error :
Compile Error: Symfony\Component\Debug\DebugClassLoader::loadClass(): Failed opening required '/home/asquel/www/pnp2014/vendor/jms/di-extra-bundle/JMS/DiExtraBundle/DependencyInjection/Compiler/LazyServiceMapPass.php'

If I comment the 3 following lines in JMSSerializerBundle :
/if (class_exists('JMS\DiExtraBundle\DependencyInjection\Compiler\LazyServiceMapPass')) {
return new \JMS\DiExtraBundle\DependencyInjection\Compiler\LazyServiceMapPass($tagName, $keyAttributeName, $callable);
}
/

it works ...

@goetas
Copy link
Collaborator

goetas commented Jan 20, 2017

Sorry for the long feedback loop.
This issue is probably already solved.

(if not feel free to re open the issue or to comment here)

Thanks

@goetas goetas closed this as completed Jan 20, 2017
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