ZF-11711: Primary keys index corrupted after Zend_Db_Table::insert
Description
After Zend_Db_Table::insert call, primary indexes start at 1 .
Ex: Inside extended class :
protected $_primary = array('myKey');
function ...() {
$this->insert($datas);
}
//After insert primary key 'myKey' has index 1 in $_primary var (Expected 0);
function ...() {
$this->getAdapter()->insert($this->_name, $datas);
}
//After insert, primary key keep index 0.
Comments
No comments to display