Bug #52866

ExtensionCompatibilityTester is broken

Added by Alexander Stehlik almost 2 years ago. Updated almost 2 years ago.

Status:Resolved Start date:2013-10-15
Priority:Must have Due date:
Assigned To:- % Done:

100%

Category:Install Tool Spent time: -
Target version:6.2.0
TYPO3 Version:6.2 Is Regression:No
PHP Version:5.4 Sprint Focus:
Complexity:medium

Description

The ExtensionCompatibilityTester in the install tool does not work with the new package manager.

Running Ajax request

http://typo3instance.tld/typo3/sysext/install/Start/Install.php?install[context]=standalone&install[controller]=tool&install[action]=loadExtensions&install[controller]=ajax&install[action]=extensionCompatibilityTester&install[extensionCompatibilityTester][forceCheck]=0&_=1381864129627

ends in a PHP error:

Call to undefined method TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadTypo3LoadedExtensionInformation() in /typo3/sysext/install/Classes/Controller/Action/Ajax/ExtensionCompatibilityTester.php on line 102

Related issues

duplicated by Core - Bug #52891: Fatal error in ExtensionCompatibilityTester Closed 2013-10-16
duplicated by Core - Bug #53472: check for broken extensions is broken Closed 2013-11-09

Associated revisions

Revision ca4d2d39
Added by Alexander Stehlik almost 2 years ago

[BUGFIX] Loaded Extensions in ExtensionCompatibilityTester

Remove the obsolete call to loadTypo3LoadedExtensionInformation() and
read the loaded Extensions from the TYPO3_LOADED_EXT global.

Additionally the array type hints are replaced with the ArrayAccess
interface since the LoadedExtensionsArray returns instances of
LoadedExtensionArrayElement which implements that interface.

Resolves: #52866
Releases: 6.2
Change-Id: I40db793f2c35b50636c8411aa7a141efc3c90320
Reviewed-on: https://review.typo3.org/24820
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Markus Klein
Tested-by: Markus Klein

History

#1 Updated by Gerrit Code Review almost 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24820

#2 Updated by Gerrit Code Review almost 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24820

#3 Updated by Gerrit Code Review almost 2 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24820

#4 Updated by Alexander Stehlik almost 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF