Project

General

Profile

Actions

Bug #22378

closed

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

Added by Jeff Segars about 14 years ago. Updated almost 14 years ago.

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

0%

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


Files

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

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #22441: importExtInfo() does not sort versions correctlyClosedFrancois Suter2010-04-13

Actions
Related to TYPO3 Core - Bug #17861: Extension Manager does not sort versions of an extension correctlyClosed2007-11-28

Actions
Related to TYPO3 Core - Bug #18640: EM considers 0.8.0 to be have a higher number than 1.0.0ClosedChris topher2008-04-19

Actions
Related to TYPO3 Core - Bug #19325: Sorting order of versions in Extension Manger Drop Down BoxClosedChris topher2008-09-15

Actions
Actions

Also available in: Atom PDF