Skip to content

Injecting Non existent Service Symfony <=2.3 #71

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

Closed
benschumi opened this issue Sep 5, 2014 · 4 comments
Closed

Injecting Non existent Service Symfony <=2.3 #71

benschumi opened this issue Sep 5, 2014 · 4 comments

Comments

@benschumi
Copy link

Hi,
I upgrade helios-ag/fm-elfinder-bundle to 2.*@dev but i have an error when i do composer update with symfony 2.2.

The service "fm_elfinder.configurator.default" has a dependency on a non-existent service "request_stack".

According to this news, http://symfony.com/blog/new-in-symfony-2-4-the-request-stack, the service request stack was added in symfont version 2.4.
How can the 2.1 helios-ag/fm-elfinder-bundle can work with symfony < 2.4 ?

Thank you

@helios-ag
Copy link
Owner

Hi @Benschumi74, well shortly, you can't it do with default configurator service. But if you override it with your own service, and explicitly set url in getConfiguration() method, i think it should work fine.

@marcelodiegues
Copy link

I'm new with symfony. Can you show a example? I have the same issue :/

@helios-ag
Copy link
Owner

@Benschumi74 @marcelodiegues i have reversed changes with requeststack usage.
Tagged bundle as 2.3.0 (branch 2.3), you may install bundle via command:
composer require "helios-ag/fm-elfinder-bundle":"2.3.0"

@marcelodiegues
Copy link

Nice!!! Thank you!!!

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

3 participants