zendframework/zf2 — pull request #2044 by davidwindell (2012-07-30 16:39:23+00:00)
Title: [Form] Only bind values that were posted

InputFilter currently returns all fields, even if no data was set, meaning values that weren't posted are getting bound as null against existing objects (causing data loss).

This PR resolves this behaviour by processing the bound data first. Exists tests cover checking that data is bound correctly and should pass.