Bug #30554
closedReports module: Available services broken
100%
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.
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change I15fd7eecaafb52df0599598c5b700e458e63f0d9 has been pushed to the review server.
It is available at http://review.typo3.org/5538
Updated by Xavier Perseguers about 13 years ago
- Target version changed from 4.6.0-RC1 to 4.6.0
Updated by Xavier Perseguers about 13 years ago
- Priority changed from Should have to Must have
Updated by Mr. Hudson about 13 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
Updated by Mr. Hudson about 13 years ago
Patch set 3 of change I15fd7eecaafb52df0599598c5b700e458e63f0d9 has been pushed to the review server.
It is available at http://review.typo3.org/5538
Updated by Lorenz Ulrich about 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 543f43d0e75c269ee021b6ae64cc04d727f6bb36.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed