In case anyone stumbles on this and has the same problem, I determined
that it was the inner save's validation that was breaking the
transaction and committing the outer save prematurely. None of the
find calls inside the validation in question should themselves break
the transaction, so this is most certainly a bug.
Calling saveAll($data, array('validate' => 'only')) on each save, and
then saving with saveAll($data, array('validate' => false)) is a
sufficient workaround.
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=.