bind is depreceated on symfony 2.3 => bug with upload file
In symfony 2.3 submit with bind is depreaceted:
$form->bind($this->getRequest());
so i try to use the new solution:
$form->submit($request->request->get($form->getName()));
(like : http://symfony.com/doc/current/cookbook/form/direct_submit.html )
But it isn't work, the value $this->filename of my object is empty
No comments:
Post a Comment