Skip to content

[symfony bundle] The env "resolve:ENQUEUE_DSN" var is not defined #375

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
jralph opened this issue Feb 19, 2018 · 1 comment
Closed

[symfony bundle] The env "resolve:ENQUEUE_DSN" var is not defined #375

jralph opened this issue Feb 19, 2018 · 1 comment

Comments

@jralph
Copy link

jralph commented Feb 19, 2018

When using the resolve ability with symfony 4's advanced env settings I am getting this error

[LogicException]
  The env "resolve:ENQUEUE_DSN" var is not defined

This is being thrown from Enqueue\Symfony\DefaultTransportFactory at line 160.

This appears to only be thrown when I try to use %env(resolve:ENQUEUE_DSN)% in the config. Using an environment variable without resolve works, but my use case requires a dynamic variable.

Is there any fix for this and has this been noticed before? I noticed there is a TODO: We'll have to come up with a better solution. on the method, I'm guessing this is related. If so, is there any progress on a solution at all?

@makasim
Copy link
Member

makasim commented Aug 20, 2018

should be fixed by #510

@makasim makasim closed this as completed Aug 20, 2018
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

Successfully merging a pull request may close this issue.

2 participants