ZF-4077: Zend_Session_SaveHandler_DbTable Error when using Oracle

Description

When using Zend_Session_SaveHandler_DbTable I get the following errors:

Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Zend_Session::start() - /sites/example.com/www.example.com/application/library/Zend/Db/Adapter/Oracle.php(Line:193): Error #8 Undefined variable: alias Array /sites/example.com/www.example.com/application/library/Zend/Db/Adapter/Oracle.php(Line:190): Error #2 Missing argument 2 for Zend_Db_Adapter_Oracle::quoteTableAs(), called in /sites/example.com/www.example.com/application/library/Zend/Db/Table/Abstract.php on line 998 and defined Array /sites/example.com/www.example.com/application/library/Zend/Db/Adapter/Oracle.php(Line:193): Error #8 Undefined variable: alias Array' in /sites/example.com/http://example.com/application/library/… Stack trace:

0 /sites/example.com/www.example.com/application/bootstrap.php(42): Zend_Session::start()

1 /sites/example.com/www.example.com/htdocs/dev/index.php(2): require('/sites/jetbowli...')

2 {main}

thrown in /sites/example.com/www.example.com/application/library/Zend/Session.php on line 432

This is how I am starting the session: Zend_Db_Table_Abstract::setDefaultAdapter($db); $config = array( 'name' => 'SESSIONS', 'primary' => 'SES_SESSION_ID', 'modifiedColumn' => 'SES_MODIFIED', 'lifetimeColumn' => 'SES_LIFETIME', 'dataColumn' => 'SES_DATA' );

//set the save handler for Zend_Session Zend_Session::setSaveHandler(new Zend_Session_SaveHandler_DbTable($config));

//start your session Zend_Session::start();

I am using the "oracle" adapter to connect to the database.

Comments

Fixed in SVN11560 for Oracle and SVN9537 for Pdo_Oci

Changing issues in preparation for the 1.7.0 release.