Hi! Could anybody give me a hint whats wrong? I am trying to save two keyed model's records at once using saveAll(), and MySQL gives me that error: *** SQL Error: 1048: Column 'ip_id' cannot be null
I have main model called "Ip" that hasOne "Backbone" and "Backbone" belongsTo "Ip" ... (It is very similar to User hasOne Profile example) When I use saveAll and I look into SQL debug log, the TRANSACTION starts ... Ip record is inserted OK, but backbone NOT!!. because the foreign key 'ip_id' is null ... CAKE probably forgets to fetch last inserted ID ?? At the end all transaction is rolled back and nothing is created! Any Idea whats wrong? is it a bug? I use last stable cake core 1.3.14. Thanks a lot Tomas -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php