Project

General

Profile

Actions

Bug #30554

closed

Reports module: Available services broken

Added by Lorenz Ulrich over 12 years ago. Updated over 6 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 #1

Updated by Mr. Hudson over 12 years ago

Patch set 1 of change I15fd7eecaafb52df0599598c5b700e458e63f0d9 has been pushed to the review server.
It is available at http://review.typo3.org/5538

Actions #2

Updated by Xavier Perseguers over 12 years ago

  • Target version changed from 4.6.0-RC1 to 4.6.0
Actions #3

Updated by Xavier Perseguers over 12 years ago

  • Priority changed from Should have to Must have
Actions #4

Updated by Mr. Hudson over 12 years ago

  • Status changed from New to Under Review

Patch set 2 of change I15fd7eecaafb52df0599598c5b700e458e63f0d9 has been pushed to the review server.
It is available at http://review.typo3.org/5538

Actions #5

Updated by Mr. Hudson over 12 years ago

Patch set 3 of change I15fd7eecaafb52df0599598c5b700e458e63f0d9 has been pushed to the review server.
It is available at http://review.typo3.org/5538

Actions #6

Updated by Lorenz Ulrich over 12 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF