Bug #22378

"Check for extension updates" does not always find latest version

Added by Jeff Segars over 9 years ago. Updated over 9 years ago.

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

0%

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

Description

The "Check for extension updates" in the Extension Manager does not always find the latest version due to a bad expectation of the sort order.

In SC_mod_tools_em_index->showExtensionsToUpdate() we get a list of versions for a particular extension and the latest version is assumed to be the last entry in the versions array. This array is not necessarily sorted by version number however, so a simple natsort() will make sure that it is.

To duplicate the issue, ensure that you're on a TemplaVoila version prior to the 1.4.2 release. When you "Check for extension updates", you'll see 1.4.1 as the latest version. Searching for templavoila from the "Import extensions" submodule will reveal 1.4.2 however.

(issue imported from #M14003)

14003.diff View (494 Bytes) Administrator Admin, 2010-04-05 18:41


Related issues

Related to TYPO3 Core - Bug #22441: importExtInfo() does not sort versions correctly Closed 2010-04-13
Related to TYPO3 Core - Bug #17861: Extension Manager does not sort versions of an extension correctly Closed 2007-11-28
Related to TYPO3 Core - Bug #18640: EM considers 0.8.0 to be have a higher number than 1.0.0 Closed 2008-04-19
Related to TYPO3 Core - Bug #19325: Sorting order of versions in Extension Manger Drop Down Box Closed 2008-09-15

History

#1 Updated by Jeff Segars over 9 years ago

Committed to 4.2 (r7243), 4.3 (r7244), and trunk (r7245).

Also available in: Atom PDF