sonata-project/SonataAdminBundle — Issue #597:  Form\Type\ModelReferenceType not work in Symfony 2.1
Author: vitiko-pub
Created: 2012-03-01 14:03:28+00:00
State: open

from Symfony 2.1 changelog

>[BC BREAK] FormType::getParent() does not see default options anymore

Form\Type\ModelReferenceType.php

public function getParent(array $options)
{
return $options['parent'];
}

this leads to error

>Notice: Undefined index: parent ...