Controller doesn't fill the form elements from hydrated objects that are attached to the form
This post has NOT been accepted by the mailing list yet.
I have a form that has two fieldsets. The 2 fieldsets are basically for party-related info (party = person or company) and phone-related info. The fieldsets are called using the init method of the form like this
class PhoneRegistrationForm extends RegistrationForm implements InputFilterAwareInterface
public function __construct()
In the controller's edit action, I create and hydrate the PhoneObject and PartyObject with the values from the database (PhoneObject and PartyObjects are just collection of getters and setters). I then set the hydrated objects to the fieldsets: