Hi,
I am following the documentation here, using the latest sandbox
(downloaded it today from github):
http://docs.symfony-reloaded.org/master/guides/doctrine/orm/form.html

And I get this error:
Fatal error: Call to protected method Symfony\Component\Form
\Field::setValueTransformer()

Changing the function to be public solves the problem, but I don't
know if it is the adequate solution.

There seems to be a little documentation bug, too. The code in the doc
is:

$form->addField($field);
But this method is not defined, I replaced it with:
$form->add($field);

But as soon as I add this line, I can only get a blank page, loading
for a while. The field I am trying to add is my only ChoiceField bound
to a Collection of Doctrine entities, so I think the bug is related to
DoctrineBundle.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to