If really a player_id is necessary, why it works in the first example
and why it works in the second one with the Clubs dataset that
containts to a player_id field as foreign key...
If i need first the player_id for StrokePool and SkillPool the whole
saveAll doesn't make sense anymore at all. Then i have to solve it
with Transactions manually...
The strange is, why it works in the first example, but not in the
second...


On 9 Okt., 15:40, cricket <[email protected]> wrote:
> On Fri, Oct 8, 2010 at 2:07 PM, DerBjörn <[email protected]> wrote:
> > @cricket:
>
> > Nope, doesn't work. Thanks for your suggestion anyway.
> > Generally if you use saveAll() you doesn't need a create(). This only
> > is necessary for the normal save().
>
> > So i am still looking for a solution! :) Thanks...
>
> OK, just the first thing that came to mind. But I just looked at it
> again and realised that your data array is missing some foreign keys.
> The SkillPool and StrokePool arrays should include a player_id value,
> I believe.

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