Issue solved - <PhpNut> https://trac.cakephp.org/timeline 01/08/08 <PhpNut> somewhere around that date pretty sure I fixed it <AD7six> https://trac.cakephp.org/browser/branches/1.2.x.x/cake/libs/model/model.php#L1276 <AD7six> leveille: if you use the branch code you are set. PhpNut is, like for many, your hero <leveille> PhpNut: Did you ever know that you're my hero. You're everything I would like to be <PhpNut> leveille: get in line, I am a lot of peoples hero <leveille> AD7six: PhpNut: Thanks guys. <gwoo> leveille you clearly do not PhpNut well enough <AD7six> gwoo: do you PhpNut very well <PhpNut> leveille and AD7six : https://trac.cakephp.org/changeset/6317
On Jan 9, 10:15 pm, leveille <[EMAIL PROTECTED]> wrote: > 1.2 beta > > Following is the sql file I am working from: http://pastebin.com/f5d3d7ec5 > > After I bake my MVC files and add a user, it is apparent that when > save reaches the second HABTM association for my model it attempts to > save data from my first HABTM association, as well as data from my > second association. You can get a good idea of exactly what I'm > talking about by importing my sql file, and baking. Comment out the > redirect in the add action, and pay very close attention to the > warning that you will see, and/or to the generated sql. > > If you don't feel like trying to reproduce this issue, you can check > out my working reproduction athttp://fuzz3.my-classes.org/users/. > Add a user and select the first item from the shirt and shoe select > box. Notice the error. Again, add another user, but this time select > the first item from the shirt select box and the second item from > shoes. Take a look at the generated sql. > > If you do attempt to reproduce this issue on your own box be sure to > add some shirts and shoes! > > I want to be very clear here that I baked, commented out the redirect > in the add action, and that was it. So, am I being an idiot or is > this an issue with saving multiple HABTM associations in 1.2 beta? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---