I\'ve hitting my head against the wall for countless hours now and I hope SO can be of help!
I have Retailer, Branch and RetailerBranches entities which work just fi
For those running into the same problem, I posted the solution on GitHub
.
When needing to edit OneToOne or other relationships on the same page in Sonata Admin you could also create Admin classes for each Entity (and add to config.yml) and simply add the entire entity to your form in you main Admin class like so:
protected function configureFormFields(FormMapper $formMapper)
$formMapper
->add('yourLinkedProperty', 'sonata_type_admin')
//other form fields
->end()
see Sonata Doc http://sonata-project.org/bundles/admin/master/doc/reference/form_types.html