From 43293f4bc5691c4aeb2d7a7790ce6b94d562c224 Mon Sep 17 00:00:00 2001 From: Bernhard Schussek Date: Tue, 17 Jan 2012 00:52:13 +0100 Subject: [PATCH] Updated UPGRADED file to reflect changes merged in e056480ab285e424675c428d1593f98ce256b2ba --- UPGRADE-2.1.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/UPGRADE-2.1.md b/UPGRADE-2.1.md index 1e502083a7..2073e05eb9 100644 --- a/UPGRADE-2.1.md +++ b/UPGRADE-2.1.md @@ -68,3 +68,12 @@ UPGRADE FROM 2.0 to 2.1 public function isEqualTo(UserInterface $user) { /* ... */ } // ... } + +* Form children aren't automatically validated anymore. That means that you + explicitely need to set the `Valid` constraint in your model if you want to + validate associated objects. + + If you don't want to set the `Valid` constraint, or if there is no reference + from the data of the parent form to the data of the child form, you can + enable BC behaviour by setting the option "cascade_validation" to `true` on + the parent form.