ZF-8203: Zend_Form::isValid() kills array of "belongsTo"
Description
I have created a form with several "belongsTo" form elements. When I load the values on POST like this:
if($this->getRequest()->isPost() && $form->isValid($this->getRequest()->getPost())
{
$values = $form->getValues();
Zend_Debug::dump($values)
}
$values now differs from $this->getReuquest()->getPost() and could not populate its data to the form!
Comments
Posted by Dennis Becker (radhad) on 2009-11-02T07:27:38.000+0000
A form I created to test this issue.
Posted by Dennis Becker (radhad) on 2009-11-02T07:31:06.000+0000
Data-Array to fill the form.
Posted by Christian Albrecht (alab) on 2010-03-05T21:57:29.000+0000
Does this fix your Issue?
Posted by Christian Albrecht (alab) on 2010-03-18T08:22:21.000+0000
Fixed in [ZF-9348]
Posted by Christian Albrecht (alab) on 2010-03-25T13:23:57.000+0000
Will work on belongsTo after finishing elementsBelongTo.
Posted by Christian Albrecht (alab) on 2010-04-16T06:10:08.000+0000
This time this is fixed for real in parent ZF-9607