Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Do not re-inject filter/validator chains of inputs pulled from plugin manager #151

Commits on Nov 7, 2017

  1. Do not re-inject filter/validator chains of inputs pulled from plugin…

    … manager
    
    As reported in zendframework#8, a change in zendframework#2 now causes inputs pulled from the
    plugin manager within `Factory::createInput()` to be injected with the
    default filter and validator chains composed in the `Factory`.
    This can cause filter and validator chains created during construction
    or within the input's factory to be overwritten entirely.
    
    This patch adds conditions to skip injection of the default filter and
    validator chains on inputs pulled from the input filter manager, while
    retaining the logic introduced in zendframework#2 to allow values in the
    `$inputSpecification` to further configure the instance.
    weierophinney committed Nov 7, 2017
    Configuration menu
    Copy the full SHA
    a89aec2 View commit details
    Browse the repository at this point in the history