ZF-5765: Zend_Date unit test alters value of static variable fix_dst. This biases later tests.

Issue Type: Unit Tests: Problem Created: 2009-02-12T14:06:08.000+0000 Last Updated: 2009-02-19T15:22:10.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Georg-Hendrik Haan (haan) Assignee: Thomas Weidner (thomas) Tags: - Zend_Date

Related issues: Attachments:


Zend/DateTest.php, function testAddMonth, line 4180:

<pre class="highlight">
Zend_Date::setOptions(array('fix_dst' => false));

The above code alters a static variable such that it differs from the default. This influences the outcome of later tests.

This is the cause of the ZF-5745.


Posted by Georg-Hendrik Haan (haan) on 2009-02-18T08:27:12.000+0000

This issue has been stale for a week, while other issues are being solved.

Was I wrong to label this as a blocker? Is it not the case that 20% of Zend_Date unit test results are corrupt due to this? Can someone please confirm this as a problem?

Posted by Thomas Weidner (thomas) on 2009-02-18T10:21:03.000+0000

Please be patient. We can not solve all 1000 bugs and feature requests in one week.

Posted by Georg-Hendrik Haan (haan) on 2009-02-19T11:00:10.000+0000

Please note that I'm not asking you to solve all 1000 bugs and feature requests in one week.

My comment was a plea to follow the priority system.

Issue ZF-5765 causes data loss and other irreversible damage for Zend Framework users. The issue is labeled as critical, is clearly explained and is easy to confirm or disprove. Still, low priority issues filed after this one are being resolved while 5765 seemed to be ignored.

I could not find a logical explanation for this other than that somehow this issue does not show in reports or similar. Now that you've acknowledged, I can rest assured that this will be fixed in an appropriate time frame.

Kind regards,

Posted by Thomas Weidner (thomas) on 2009-02-19T11:14:43.000+0000

I don't know from where you get your knowledge but I have not solved any other issue except those which are no issue at all.

Only because I am working in the background does not mean that there is nothing done at all. A solution, decission or negotation of this issue is only done when all cases have been prooved.

So please be patient. That is all I've asked for.

Posted by Thomas Weidner (thomas) on 2009-02-19T15:22:09.000+0000

Unittests changed. Testbed passes without problems.

Have you found an issue?

See the Overview section for more details.


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

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