Bug #22724

prioriCalc no longer working correctly after #0013670 (Performance optimization: change while(list() to foreach())

Added by Franz Koch over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-05-27
Due date:
% Done:

0%

TYPO3 Version:
4.4
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

As the topic already says, the changes in #22194 broke prioriCalc. The replacement of the while(list()) in method "calcPriority" of class.t3lib_div.php cause a wrong calculation.
Solution would be either to revert the changes from #22194 for class.t3lib_div.php or apply my attached patch, that's keeping the "foreach" loop instead "while(list())" but fixes the issue.

(issue imported from #M14488)

14488_v2-test.diff View (1.26 KB) Administrator Admin, 2010-05-29 11:38

14488_reverted7592.diff View (581 Bytes) Administrator Admin, 2010-05-29 11:38


Related issues

Related to TYPO3 Core - Bug #22194: Performance optimization: change while(list() to foreach() Closed 2010-02-26

History

#1 Updated by Oliver Hader over 9 years ago

Committed to SVN Trunk (rev. 7740)

Also available in: Atom PDF