CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #31084

Version Test latest don't work

Added by Janos over 1 year ago. Updated 7 months ago.

Status:Closed Start date:2011-10-18
Priority:Must have Due date:
Assignee:- % Done:

0%

Category:Tests/Operations
Target version:-
Votes: 1 (View)

Description

This task depends on task [[http://forge.typo3.org/issues/4483]].

Fetching the current version (scheduler task) since Typo3 4.5.2 is no longer updated.

Function "updateLatestTypo3VersionRegistry" in class "tx_caretaker_LatestVersionsHelper" fetches the latest version from repository [[https://svn.typo3.org/TYPO3v4/Core/tags/]] .

This repository is outdated.
Latest 4.5.x version is 4.5.2. So this method is no longer applicable for fetching the latest version.
The same for version 4.4.x and 4.3.x, here is the latest version containing in svn is 4.4.7 and 4.3.11.

Is there any plan to improve the versioncheck in another way?


Related issues

duplicates Caretaker - Task #13520: Adapt LatestVersionsHelper::updateLatestTypo3VersionRegis... Resolved 2011-03-02

History

Updated by Janos over 1 year ago

I've found a fix for fetching the latest version using the git repository. It has something about a quickfix but it works. Improvements are wellcome.

tx_caretaker_LatestVersionsHelper::updateLatestTypo3VersionRegistry()
URL:

        $content = self::curlRequest('http://git.typo3.org/TYPO3v4/Core.git?a=tags');

PregMatch: (There is room for improvement, cause $matches[1] got an opening tag on the end.)

        preg_match_all('/TYPO3_(4-[0-9]{1,2}-[0-9]{1,2}([^\/]{0,2})?)\//', $content, $matches);

Quickfix: (remove opening tag from the end)

        foreach ($matches[1] as $key => $version) {
            $version = substr($version, 0, -1);

Updated by Martin Ficzel over 1 year ago

  • Status changed from New to Needs Feedback
  • Assignee deleted (Tobias Liebig)

Did you test the latest svn version. I think we fixed this problem the day it occured but did'nt manage to update TER yet. For us the TYPO3-Version test works fine.

Regards Martin

Updated by Janos over 1 year ago

This was the point. I checked the TER version, the latest svn version works fine.. So this issue could be closed..

Regards Janos

Updated by Tobias Liebig 7 months ago

  • Status changed from Needs Feedback to Closed

Closed, as stated by the issue reporter.

Also available in: Atom PDF