Resolution: Won't Fix
Affects Version/s: 1.1.4
Fix Version/s: None
Environment:Debian 5.0.3, PHP 5.2.11-0.dotdeb.1 with Suhosin-Patch 0.9.7
at first my ERM:
I want to add datasets in Table1, Table1Sub and Table2Sub. Table2 already has a dataset. So I try
Doctrine saves all datasets but Table2Sub.
I reversed engineer a while, and found in Doctrine_Connection_UnitOfWork::saveRelatedLocalKeys() the if condition isModified().
So, Table2Sub is not saved, because Table2 is not modified. When a changed it to isModified(true), Doctine saves everything.
Is it possible to add the attached patch?
BTW: Can somebody add a 'return $this' in Doctrine_Record::fromArray()?