Open
Description
Given the following form:
$form = $factory->createBuilder()
->add('foo', null, array(
'inherit_data' => true,
'error_mapping' => array(
'bar' => 'baz',
),
))
->getForm();
$form->get('foo')->add('baz');
then if a an error occcurs on the property path "bar", it won't be mapped to "baz", because the "error_mapping" setting on form "foo" (which inherits its parent data) is not regarded.