sonata-project/SonataMediaBundle — pull request #458 by xaben (2014-01-03 12:02:47+00:00)
Title: Fix: Merge user form model data into media object copy

Upon creating a new user provider that needs an additional form field besides "binaryContent", the bound model data for that field is discarded while the "newMedia" copy contains a null field. This fix, merges the user defined properties into the "newMedia" object.

This error happens only if "new_on_update" is true, which is the default behavior.