Bug #22724

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

Added by Franz Koch about 11 years ago. Updated about 11 years ago.

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

0%

Estimated time:
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)


Files

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

Related issues

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

Actions
#1

Updated by Oliver Hader about 11 years ago

Committed to SVN Trunk (rev. 7740)

Also available in: Atom PDF