Friday, August 28, 2009

Re: HABTM with additional data scaffold update problem.

Hi DeFranco, i'm a CakePHP newbie and i'm handling on a quite similar topic
for
which i've opened a specific thread here:
http://groups.google.it/group/cake-php/browse_thread/thread/405946857...
Could you maybe have a quick look on it a give me some little suggestion ?

thanks a lot in advance

fabio

Defranco wrote:
>
>
> Hi,
>
> My join table additional data get lost when I update any of the 2
> models that has HABTM relation:
>
> I have 2 models that has HABTM relation and the join table between
> these has additional data.
>
> The problem is that when I edit and update any record on first model,
> it will delete and insert join table records and I loose my additional
> data on join table.
>
> How I solve it? I alread tried the HABTM 'with' tag and changed the
> 'unique' tag too, but no success.
>
> Kind regards,
>
> Franco
> >
>
>

--
View this message in context: http://n2.nabble.com/HABTM-with-additional-data-scaffold-update-problem-tp3263694p3534452.html
Sent from the CakePHP mailing list archive at Nabble.com.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: