-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
[DependencyInjection] ParameterCircularReferenceException when creating secrets #37281
Comments
I failed to reproduce this. Exception is thrown and caught. |
currently using php 7.3 |
I have the issue and using php 7.2 |
I personally failed to reproduce this, but a user on SymfonyCasts definitely hit it - https://symfonycasts.com/screencast/symfony5-upgrade/secrets-vault-setup#comment-4957289406 So I'd say that there IS a legit issue here. The circular reference in that case was for |
This issue should be closed as a duplicate of #37142. Discussion and Information are splitting. |
@weaverryan php 7.4 I guess closing in favor of #37142 |
Symfony version(s) affected: 5.1
Description
When creating secrets with command, a
ParameterCircularReferenceException
is triggered.How to reproduce
Additional context
The EnvVarProcessor contains code to rpevend it, but I don't understand why it fails. Maybe related to the
LazyString
and exception triggered in__toString
.stack trace show that exception is triggered throught EnvVarProcessor line 153.
Line this line is wrap in try/catch block
symfony/src/Symfony/Component/DependencyInjection/EnvVarProcessor.php
Lines 145 to 164 in b04512a
/cc @nicolas-grekas
The text was updated successfully, but these errors were encountered: