ZF-9599: Error with configuration based on the example using Zend_Session_

Description

If configuring Zend_Application_Resource_Session based on "Example #17 Sample Session resource configuration" [http://framework.zend.com/manual/en/…] (an example with using Zend_Session_SaveHandler_DbTable) the application crashes as the $primary array keys are strings {quote} var_dump($this->_primary); // echo's // array('session_id'=>'session_id','save_path'=>'save_path','name'=>'name') {quote}

and Zend_Db_Table_Abstract::_setupPrimaryKey() try's to access the array by using an integer key ($this->_identity). This code is (line 895 of Zend_Db_Table_Abstract): {quote} $primary = (array) $this->_primary; $pkIdentity = $primary[(int) $this->_identity]; {quote}

Comments

From what I can tell this is not an issue in Zend_App_Resource. Reassigning.

Fixed with r23177