You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use ENV variables for mapping file links in exception. After upgrade to 4.0.9 we get
Environment variables "APP_IDE" are never used. Please, check your container's configuration.``` when running cache:clear although it is used in the framework config.
After running cache:clear the "never used" error message shown in console
Possible Solution
After some digging in the source i found the debug.file_link_format parameter and passing the ENV to this solves the problem, but I can't find any documentation about this.
The text was updated successfully, but these errors were encountered:
Hello, I just tried reproducing the behavior you describe here, but from a fresh skeleton everything works on my side. Would you have a more detailed reproducer?
Hello, I also tried to reproduce my own problem without any success at first time.
Digging it deeper it might be a sign of some another bug. The error only happens in php7.1 with xdebug on.
It's ok in php7.2 with or without xdebug and in php7.1 without xdebug.
Hope it helps.
This PR was merged into the 3.4 branch.
Discussion
----------
[HttpKernel] fix registering IDE links
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #27194
| License | MIT
| Doc PR | -
Reverts some changes made in #27074 in `FrameworkBundle::boot()` that create the linked issue. Leverages changes done in #26138 instead.
Commits
-------
92e3023 [HttpKernel] fix registering IDE links
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected: 4.0.9
Description
We use ENV variables for mapping file links in exception. After upgrade to 4.0.9 we get
How to reproduce
.env file
framework.yaml file
After running cache:clear the "never used" error message shown in console
Possible Solution
After some digging in the source i found the
debug.file_link_format
parameter and passing the ENV to this solves the problem, but I can't find any documentation about this.The text was updated successfully, but these errors were encountered: