Project

General

Profile

Actions

Bug #30554

closed

Reports module: Available services broken

Added by Lorenz Ulrich about 13 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2011-10-22
Due date:
2011-10-22
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Displaying the available services in the reports module is broken. This is a regression of removing the global declarations for TYPO4 4.6. In TYPO3 < 4.6 the global array $T3_SERVICES contained too much information:

$T3_SERVICES[$serviceType][$serviceKey] --> Information about a particular service
$T3_SERVICES[$serviceKey][$serviceKey] --> Same information

Because of this duplicate, the method t3lib_extMgm::findService could be "abused" to find out if a particular service was the service of highest priority of a type.

After the cleanup, the array $GLOBALS['T3_SERVICES'] only contains the information it is supposed to:

$T3_SERVICES[$serviceType][$serviceKey] --> Information about a particular service

Therefore t3lib_extMgm::findService($serviceKey, '*') will no longer work. This can be easily solved by adding a method that checks, if a particular service is the service of highest priority for the given service type.


Related issues 1 (0 open1 closed)

Follows TYPO3 Core - Task #31174: CGL cleanup in Available services reportClosedFrancois Suter2011-10-21

Actions
Actions

Also available in: Atom PDF