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
callbacks in symfony yml do not work #113
Comments
The |
@Nemo64 this test https://github.com/yohang/Finite/blob/master/tests/Finite/Test/Bundle/FiniteBundle/DependencyInjection/FiniteFiniteExtensionTest.php#L46 ensures that what you describe shouldn't happen. Could you give me some context ? |
@yohang I know that the problem was that the option resolver somehow got the disabled option. I try to reproduce it later, currently i have no time. |
@Nemo64 I do have the same problem here. The OptionResolver does not know about the disabled Option and breaks. If I add Your test is working and so would my configuration if i use disabled:true in configuration, cause the OptionResolver is not used, cause the disabled callbacks are removed. |
@yohang Can you please merge this into master, or let me know what is missing. |
The callback configuration contains the key
disabled
which is not present in theArrayLoader
'sOptionResolver
and causes this exception:Why is that option there anyways? If I would want to disable a callback i'd simply comment it out.
The text was updated successfully, but these errors were encountered: