pawaclawczyk / SymfonyUpgradeHelper

This tool will helps you upgrade your Symfony2 project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The add(), remove(), setParent(), bind() and setData() methods in the Form class now throw an exception if the form is already bound.

pawaclawczyk opened this issue · comments

  • The add(), remove(), setParent(), bind() and setData() methods in
    the Form class now throw an exception if the form is already bound.

    If you used these methods on bound forms, you should consider moving your
    logic to an event listener that observes FormEvents::PRE_BIND or
    FormEvents::BIND.