sonata-project/SonataAdminBundle — pull request #708 by Romain-Geissler (2012-04-24 15:26:17+00:00)
Title: Do not validate removed entities.

When you edit a collection of entities, you are allowed to delete some of them. This an issue when you added a new entity by mistake and do not filled any value, but need now to delete it. With that PR, the deleted entities are no longer validated.

This patch is for 2.0 only and is very ugly as it wraps the whole FormInterface. This is due to Symfony 2.0 lacking this very crucial need to bypass validation of some part of the form. This feature were added to 2.1 through the option ``cascade_validation`` (it's sad such a useful and trivial feature becomes available only nowadays).