[TYPO3-core] RFC: Bug #14003: "Check for extension updates" does not always find latest version

Jeff Segars jsegars at alumni.rice.edu
Tue Apr 6 00:11:52 CEST 2010


On 4/5/10 11:48 AM, Jeff Segars wrote:
> Hey guys,
>
> This is a SVN patch request.
>
> Type: Bugfix
> Bugtracker reference: http://bugs.typo3.org/view.php?id=14003
> Branch: Trunk, 4.3
>
> Problem:
> 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
>
> Solution:
> A simple natsort() will make sure that the versions array is sorted
> properly and that the latest version is at the end.
>
> Additional Notes:
> 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.
>
> Thanks,
> Jeff

Committed to 4.2 (r7243), 4.3 (r7244), and trunk (r7245). Thanks for the 
quick reviews!



More information about the TYPO3-team-core mailing list