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
Symfony version(s) affected: 4.1.7 (actually all versions)
Description
Suppose we have an implementation of Symfony\Component\Config\Definition\ConfigurationInterface. If we define beforeNormalization part for some node definition and call thenUnset as a result of if part, the application will crash with Symfony\Component\Config\Definition\Exception\UnsetKeyException.
This PR was squashed before being merged into the 2.8 branch (closes#29152).
Discussion
----------
[Config] Unset key during normalization
| Q | A
| ------------- | ---
| Branch? | 2.8
| Bug fix? | yes-ish
| New feature? | yes
| BC breaks? | no <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass? | yes <!-- please add some, will be required by reviewers -->
| Fixed tickets | #29142
| License | MIT
| Doc PR | symfony/symfony-docs#... <!-- required for new features -->
2.8 vs. 4.x :) let me know.
Commits
-------
e1402d4 [Config] Unset key during normalization
Symfony version(s) affected: 4.1.7 (actually all versions)
Description
Suppose we have an implementation of
Symfony\Component\Config\Definition\ConfigurationInterface
. If we definebeforeNormalization
part for some node definition and callthenUnset
as a result of if part, the application will crash withSymfony\Component\Config\Definition\Exception\UnsetKeyException
.How to reproduce
The output:
The text was updated successfully, but these errors were encountered: