-
Notifications
You must be signed in to change notification settings - Fork 49
MVC InputFilterPluginManager missing InputFilterAbstractFactory config #177
Comments
@weierophinney do you think it is a bug? Should I create PR? |
@vaclavvanik zend-inputfilter/src/Module.php Lines 30 to 42 in a23e67d
...and you will find |
Or do you try to add the entire specification as array in the configuration and not the factories? |
Doesn't it say the problem right here:
zend-inputfilter/src/InputFilterPluginManager.php Lines 125 to 143 in a23e67d
your |
@Xerkus
https://docs.zendframework.com/zend-inputfilter/specs/#setup |
@froschdesign I see, |
@froschdesign as I wrote above I think, that it is a bug, that in In ConfigProvider is |
@vaclavvanik |
In the docs is: For Expressive when using the configuration manager, and for zend-mvc v3 releases, the functionality is enabled by default, assuming you are using the component installer. I am using mvc v3 and |
Just checked, docs are indeed wrong. It is not registered for any mvc version by default. |
@vaclavvanik Or I'm wrong? |
@vaclavvanik |
@froschdesign #162 fixed |
Right, because in zend-form is the behaviour different. 😕 |
InputFilterPluginManager in MVC environment does not create input filter defined in config.
Code to reproduce the issue
Expected results
InputFilterPluginManager creates defined InputFilter
Actual results
Exception thrown
Imho this happens because Module.php provide incomplete config.
The text was updated successfully, but these errors were encountered: