Skip to content

Conversation

@nicolas-grekas
Copy link
Member

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #62541
License MIT

This reverts commit 808365f, reversing changes made to 3678f5c.

PR #62541 introduced this. But the change makes the CI red on 7.3.
And looking at the code again, changing the "resolved" state means already resolved parameters are going to be resolved twice.
We could eg resolve immediately when setting a new value inside a resolved bag.
I didn't do it since things were working before so I see no hurry to think about how to fix the fix. I prefer reverting for now.
/cc @yoeunes FYI

…when setting a parameter (yoeunes)"

This reverts commit 808365f, reversing
changes made to 3678f5c.
@carsonbot carsonbot added this to the 6.4 milestone Dec 5, 2025
@carsonbot carsonbot changed the title Revert "bug #62541 [DependencyInjection] Reset resolved state when setting a parameter" [DependencyInjection] Revert "bug #62541 Reset resolved state when setting a parameter" Dec 5, 2025
@nicolas-grekas nicolas-grekas merged commit 15c9cc8 into symfony:6.4 Dec 5, 2025
11 checks passed
@nicolas-grekas nicolas-grekas deleted the di-revert branch December 7, 2025 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants