Re: CakePHP Revision 7896: HABTM Issue (deleting one relation deletes other relations)

2008-11-30 Thread Milmar
Thanks, this worked. It's already in the latest manual, but an added warning in the baking script would also help. There's a minor issue though, when clicking on "View" an unnecessary field (RolesUser) is added to the table. On Nov 30, 1:49 pm, LunarDraco <[EMAIL PROTECTED]> wrote: > Your HABTM t

Re: CakePHP Revision 7896: HABTM Issue (deleting one relation deletes other relations)

2008-11-29 Thread LunarDraco
Your HABTM table is missing a primary key 'id' if you add one the problem will go away. I too responded to this problem previously and it was determined the primary key was the correct fix. I had stated we should at least ad a warring in the check code or the baking scripts to do a check on the HA

Re: CakePHP Revision 7896: HABTM Issue (deleting one relation deletes other relations)

2008-11-28 Thread Milmar
I filed a ticket for this. On Nov 29, 12:32 am, Marcus Silva <[EMAIL PROTECTED]> wrote: > Had exactly the same problem :http://groups.google.com/group/cake-php/ > browse_thread/thread/64516dd7a1b63d0c/f350fa78c7cfc772? > hl=en&lnk=gst&q=an+easy+way+to+add+roles#f350fa78c7cfc772 > > nobody has rep

Re: CakePHP Revision 7896: HABTM Issue (deleting one relation deletes other relations)

2008-11-28 Thread Marcus Silva
Had exactly the same problem :http://groups.google.com/group/cake-php/ browse_thread/thread/64516dd7a1b63d0c/f350fa78c7cfc772? hl=en&lnk=gst&q=an+easy+way+to+add+roles#f350fa78c7cfc772 nobody has replied to my post. Very sad It must be a bug for sure, I ended up writting my on function to ad

CakePHP Revision 7896: HABTM Issue (deleting one relation deletes other relations)

2008-11-28 Thread Milmar
This issue might be related to ticket #5579 which was fixed in revision 7795. I was seeing the same issue as #5579 for the edit and save functions but I verified that it is already fixed in revision 7795 and later (I'm currently using revision 7896). Now, my problem is with the delete function, a