ZF-6159: Zend_Db_Table - lower sequence name

Issue Type: Bug Created: 2009-03-30T04:55:01.000+0000 Last Updated: 2009-09-17T14:07:50.000+0000 Status: Resolved Fix version(s): Reporter: Marek (xorock) Assignee: Ralph Schindler (ralph) Tags: - Zend_Db_Table

Related issues: Attachments:


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.


Posted by Marek (xorock) on 2009-09-01T07:18:07.000+0000

Fixed in ZF 1.8.2.

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

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.