This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/Form
Fabien Potencier 78e6a2f734 merged branch bschussek/issue3293 (PR #3315)
Commits
-------

da2447e [Form] Fixed MergeCollectionListener when used with a custom property path
b56502f0 [Form] Added getParent() to PropertyPath
7e5104e [Form] Fixed MergeCollectionListener for the case that the form's data is updated by the data mapper (as happening in CollectionType)

Discussion
----------

[Form] Fixed MergeCollectionListener for the case that the form's data is updated by the data mapper

Bug fix: yes
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #3293, #1499
Todo: -

![Travis Build Status](https://secure.travis-ci.org/bschussek/symfony.png?branch=issue3293)

This fixes CollectionType to properly use adders and removers. Apart from that, adders and removers now work with custom property paths. PropertyPath was extended for a method `getParent`.

---------------------------------------------------------------------------

by bschussek at 2012-02-10T07:42:13Z

@fabpot Ready to merge.
2012-02-10 13:02:02 +01:00
..
Extension [Form] Fixed MergeCollectionListener when used with a custom property path 2012-02-09 18:29:42 +01:00
Fixtures [Form] Reverted PR #1758. 2011-07-22 16:42:50 +02:00
Guess fixed CS 2011-06-08 19:56:59 +02:00
Util [Form] Implemented MergeCollectionListener which calls addXxx() and removeXxx() in your model if found 2012-02-02 11:16:21 +01:00
AbstractDivLayoutTest.php [Form] Fixed duplicate errors on forms with "error_bubbling"=false 2012-02-10 11:41:19 +01:00
AbstractExtensionTest.php merged 2.0 2011-10-29 12:01:39 +02:00
AbstractLayoutTest.php merged branch helmer/readonly (PR #3193) 2012-02-02 10:03:00 +01:00
AbstractTableLayoutTest.php [Form] Fixed duplicate errors on forms with "error_bubbling"=false 2012-02-10 11:41:19 +01:00
FormBuilderTest.php [Form] added support for parent of FormBuilder 2012-02-02 10:09:50 +01:00
FormFactoryTest.php merged branch hason/formbuilder (PR #3249) 2012-02-02 10:13:41 +01:00
FormInterface.php fixed CS 2011-06-08 19:56:59 +02:00
FormTest.php [Form] Fixed Form::bindRequest() when used on a form without children 2012-02-10 10:36:16 +01:00
PropertyPathTest.php [Form] Added getParent() to PropertyPath 2012-02-09 18:11:16 +01:00