Project

General

Profile

Actions

Bug #22724

closed

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

Added by Franz Koch over 14 years ago. Updated over 14 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 1 (0 open1 closed)

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

Actions
Actions

Also available in: Atom PDF