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
#38665 exposed the no_limit policy to the configuration without taking its singularity into account. As such it requires the lock component to be installed and enabled, but also a limit to be configured (it would be ignored).
Symfony version(s) affected
From v5.2.0-BETA3
Description
#38665 exposed the
no_limit
policy to the configuration without taking its singularity into account. As such it requires the lock component to be installed and enabled, but also alimit
to be configured (it would be ignored).How to reproduce
Configure a limiter with the
no_limit
policy:and you will get an
InvalidConfigurationException
:Possible Solution
Do not mark
limit
as required and validate it’s set only for policies other thanno_limit
.Additional Context
I don’t think needing to enable the lock component to configure a
no_limit
limiter really is an issue, because you would not use only this policy.The text was updated successfully, but these errors were encountered: