Not really sure why this is allowed, but there are places where inserts are handled with an empty string for an auto-increment primarykey id. This fails with any strict setup of a db, if there is auto increment.
There is 3 week old trac listing for this but it really boggles the mind why you would allow a sql statement to be generated with an empty string and an explicit reference to a primary key. eg: SQL Error: 1366: Incorrect integer value: '' for column 'id' at row 1 The key should be left out of the sql so it can be auto-generated. This is really bad. Complaints about this go back to 2005. This is bush league shit -- laughable man. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
