symfony/symfony — Issue #3346: [Form] Forms value copying ignore magic methods
Author: tiagojsag
Created: 2012-02-13 12:33:08+00:00
State: open

Hi,

So I have a form based on an entity, which has both "real" fields as well as an array used to handle a bunch of "virtual" fields accessed using __get and __set. This logic works fine everywhere in my application except in form submission, where these "virtual" fields are passed on the POST request, are present on the Request object, but are not copied automatically when using the createFormBuilder / bind functions (not sure which is supposed to handle this).

Cheers