[TYPO3-core] RFC #6854: Extension Manager does not sort versions of an extension correctly

Lars Houmark lars at houmark.com
Fri May 14 01:27:17 CEST 2010


Hi,

This is a SVN patch request.

Type: Bugfix / Coming close to no-brainer

BT reference: http://bugs.typo3.org/view.php?id=6854

Branches: trunk

Problem: Yes, there is still sorting problems with the EM in some 
situations.

Christopher reports on the BT:
The erroneous code has partly been fixed with the related bugs.
But there is still two occurences left:
One in installExtension() and one in importExtFromRep().

Solution:
	Fix the sorting issues in the two aforementioned functions.

How to test:
	I am not sure tbh. But they are pretty much no-brainers after having 
had 2 other bugs (#14003 and #14090) with similar problems and the same 
solution recently.

Notes:
	Originally reported by Micha Barthel and additional flawed code spots 
was found by Christopher. I just did the patch (and searched a bit more 
for even more places, but found none) ;)

In a perfect world a sorting function should be introduced to the EM 
class, which all instances that needs sorting should use, but as the EM 
is being rewritten I think we are fine for now...

--
Lars Houmark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6854.diff
Type: text/x-diff
Size: 957 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100513/0f0a0cbf/attachment.diff>


More information about the TYPO3-team-core mailing list