[TYPO3-core] RFC #14488: prioriCalc no longer working correctly due to changes in rev 7592

Oliver Klee typo3-german-02 at oliverklee.de
Thu May 27 12:05:29 CEST 2010


Hi,

Am 27.05.2010 02:42, schrieb Franz Koch:
> -----------------------------------------------------
> Issue:
> -----------------------------------------------------
> The changes in rev 7592 broke prioriCalc. The replacement of the
> while(list()) in method "calcPriority" of class.t3lib_div.php cause a
> wrong calculation, because the first array element is used twice for
> calculation as foreach loops the whole array and is not just iterating
> starting at current pointer.

care to write a unit test (regression test) for this bug so it won't
show its ugly head again?


Oli
-- 
Certified TYPO3 Integrator | TYPO3 Security Team Member


More information about the TYPO3-team-core mailing list