I have concluded SaveAll does not work if you have multiple hasMany
models and the first one (maybe others?) has no data. I have tried
many, many things and it just does not save the data.

So I have resorted to normal save() for the main model then individual
saves for each hasMany model using the foreign_key obtained from the
first main save.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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=en

Reply via email to