Issues

ZF-3101: testRegenerateId(Zend_SessionTest) errors out when running AllTests suite

Issue Type: Unit Tests: Problem Created: 2008-04-11T13:32:03.000+0000 Last Updated: 2008-09-02T10:39:12.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Darby Felton (darby) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Session

Related issues: Attachments:

Description

After running phpunit on the tests/AllTests suite from the trunk, I get the following test results on PHP 5.2.5 on Linux:

<pre class="literal">
1) testRegenerateId(Zend_SessionTest)
Zend_Session_Exception: The session has already been started.  The session id must be set first.
/var/local/zf/tests/Zend/Session/SessionTest.php:126

Comments

Posted by Ralph Schindler (ralph) on 2008-04-22T11:04:15.000+0000

Updating project management info.

Posted by Alexander Veremyev (alexander) on 2008-07-10T05:13:05.000+0000

There was a problem with already started session.

Some other tests (Zend_Controller_Action_Helper_FlashMessengerTest and Zend_OpenId_Provider_User_SessionTest) utilize Zend_Session to their own needs, session may already be started at testRegenerateId() pass time.

Posted by Alexander Veremyev (alexander) on 2008-07-26T10:23:29.000+0000

Changes also merged into release-1.5 branch.

Posted by Wil Sinclair (wil) on 2008-09-02T10:39:12.000+0000

Updating for the 1.6.0 release.

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts