Zend Framework

Zend_Application_Resource_Session break Zend_Session

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.1
  • Fix Version/s: 1.8.1
  • Component/s: Zend_Application
  • Labels:
    None

Description

When unused option are set for Zend_Session, Zend_Session throw an exeption.

On the last trunk version of Zend_Application_Resource_Session, the boostrap object as been added to the options then break Zend_Session because it doesnt accept the boostrap object.

I must add this to fix the problem in the init() method of Zend_Application_Resource_Session before Zend_Session::setOptions($options); :

if (isset($options['bootstrap'])) {
unset($options['bootstrap']);
}

Activity

Hide
Matthew Weier O'Phinney added a comment -

setOptions now no longer merges the "bootstrap" option.

Show
Matthew Weier O'Phinney added a comment - setOptions now no longer merges the "bootstrap" option.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: