Issues

ZF-6159: Zend_Db_Table - lower sequence name

Description

I think there is small bug in Zend_Db_Table. Sequences declared as camelCase are lowercased.

Database Postgresql, Zend_Db_Adapter_Pdo_Pgsql

class camelCase extends Zend_Db_Table_Abstract { protected $_name = 'camelCase';

#Forcing declaration does not have any effect

protected $_sequence = 'camelCase_id_seq'; }

$table = new camelCase(); $row = $camelCase->createRow(); ...some data $row->save();

Exception: Relation 'camelcase_id_seq' not found.

Comments

Fixed in ZF 1.8.2.

Sorry, but I don't how how can I close this bug.