The Symfony\Component\Form\Util\PropertyPath has changes in its behavior.
My question is; whether this is intended and if so should be noted as a BC break, or whether the given object should be considered valid (maybe adding an option to force the use of the setter method):
Before
An object having the methods addOccupation and setOccupations (Propel model) worked by using setOccupations.
After
The same object is now broken, the PropertyPath::writeProperty throws an Exception due to the missing removeOccupation method. However, the setOccupations is still there, but not used anymore.
The
Symfony\Component\Form\Util\PropertyPathhas changes in its behavior.My question is; whether this is intended and if so should be noted as a BC break, or whether the given object should be considered valid (maybe adding an option to force the use of the setter method):
Before
An object having the methods
addOccupationandsetOccupations(Propel model) worked by usingsetOccupations.After
The same object is now broken, the
PropertyPath::writePropertythrows an Exception due to the missingremoveOccupationmethod. However, thesetOccupationsis still there, but not used anymore.