propelorm/Propel — pull request #367 by jaugustin (2012-05-26 14:33:28+00:00)
Title: fix o2m / m2m schedule for deletion and add remove on o2m / m2m collection

Hi,

This is a rebase and replace of old PR #352 ;)

This pr fix many to many schedule for deletion issue #351.
This fix also the test in PR #286

This also add remove method for one to many and many to many relation (usefull for symfony2 form)

This introduce a new behavior in removing one-to-many object in the schedule for deletion.
It only schedule for deletion related objects that have there FK required (can't set to null)

@havvg @willdurand @fzaninotto what's your point of view about this change ?

WIP : tests for "remove" methods one-to-many and many-to-many

@havvg @willdurand could you test this on your projects, and give me any feedback.