ZF-9061: Zend_Db_Table_Abtract insert() should respect _defaultValues

Description

Perhaps Zend_Db_Table_Abstract insert() method should use any values previously set by setDefaultValues()

Inside insert() method:

/** * set default insert values from $_defaultValues * array_merge will override a key's value in arg1 with arg2 if the key is present in arg2 */ $data = array_merge($this->getDefaultValues(), $data);

Comments

It may also be wise to use the createRow() method, since this is semantically appropriate and already uses the _defaultValues