robregonm / YiiFirebird

Firebird Adapter for Yii 1.1.x
13 stars 8 forks source link

Multiple records inserted on create #1

Closed birgerj closed 12 years ago

birgerj commented 12 years ago

When adding a new record to a table with multiple fields, a record is inserted for each field. For instance, if I add this data in a form: Fist name: John Last name: Smith City: New York Country: USA

I get 4 records in my database: John John | Smith John | Smith | New York John | Smith | New York | USA

I'm trying to reproduce this problem right now and create a simple example, but I think there might be a problem with my own code...Please ignore this issue for now...

birgerj commented 12 years ago

This was related to the same problem mentioned here: http://www.prettyscripts.com/framework/yii/yii-ajax-validation-and-duplicated-data and had nothing to do with Firebird!