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 at http://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 [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 -~----------~----~----~----~------~----~------~--~---
