Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.9.6
-
Fix Version/s: 1.11.1
-
Component/s: Zend_Session
-
Labels:None
Description
5 unit tests for Zend_Session currently fail:
1) Zend_SessionTest::testSetExpirationSeconds
iteration over default Zend_Session namespace failed; expecting result === ';a === apple;o === orange;p === pear', but got 'Usage: /root/framework/tests/Zend/Session/SessionTestHelper.php <test name>'
Failed asserting that <boolean:false> is true.
/root/framework/tests/Zend/Session/SessionTest.php:813
2) Zend_SessionTest::testSetExpireSessionHops
iteration over default Zend_Session namespace failed (result=''; hop #1)
Failed asserting that <boolean:false> is true.
/root/framework/tests/Zend/Session/SessionTest.php:869
3) Zend_SessionTest::testSetExpireSessionVarsByHops1
iteration over named Zend_Session namespace failed (result=''; hop #1)
Failed asserting that <boolean:false> is true.
/root/framework/tests/Zend/Session/SessionTest.php:921
/root/framework/tests/Zend/Session/SessionTest.php:881
4) Zend_SessionTest::testSetExpireSessionVarsByHops2
iteration over named Zend_Session namespace failed (result=''; hop #1)
Failed asserting that <boolean:false> is true.
/root/framework/tests/Zend/Session/SessionTest.php:921
/root/framework/tests/Zend/Session/SessionTest.php:891
5) Zend_SessionTest::testSetExpireSessionVarsByHopsOnUse
unexpected results iterating over named Zend_Session namespace (result=''; expected ';g === guava;p === plum'; hop #1)
Failed asserting that <boolean:false> is true.
/root/framework/tests/Zend/Session/SessionTest.php:989
Attachments
Issue Links
| This issue is dependecy of: | ||||
| ZF-7196 | Zend_Session_Abstract::_namespaceUnset() always unsets the whole namespace |
|
|
|
Attached patch to "fix" these errors but I don't know whether this is a valid fix or only a workaround.