Index: lib/Doctrine/Connection/UnitOfWork.php
===================================================================
--- lib/Doctrine/Connection/UnitOfWork.php (revision 4849)
+++ lib/Doctrine/Connection/UnitOfWork.php (working copy)
@@ -442,6 +442,8 @@
$assocRecord->set($assocTable->getFieldName($rel->getLocal()), $record);
$this->saveGraph($assocRecord);
}
+ // take snapshot of collection state, so that we know when its modified again
+ $v->takeSnapshot();
}
}
}