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

Configuration should not attempt to check for dirs/paths #406

Open
yellow1912 opened this issue Oct 14, 2016 · 1 comment · May be fixed by #407
Open

Configuration should not attempt to check for dirs/paths #406

yellow1912 opened this issue Oct 14, 2016 · 1 comment · May be fixed by #407

Comments

@yellow1912
Copy link

Q A
Bundle version 1.4-dev
Symfony version 3.1
PHP version 7.0

Expected behavior

When we warmup our web app, we have folders that we want to include in the translation extractor dirs, but not yet available at the time of warming up. I believe that the step to check for these folders should be done only when we explicitly run the extractor

Actual behavior

Right now we get exception because the folders do not yet exist

Steps to reproduce

Config a list of dirs that do not exist.

@yellow1912 yellow1912 linked a pull request Oct 14, 2016 that will close this issue
3 tasks
@bdunogier
Copy link

I can confirm that issue. The main problem is that the context from which the console is executed and the web context are different. If a path is available from one, it is not from the other. Given that the extract command is executed from CLI, web will fail.

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