[BUGFIX] Reports module: Available services broken
authorLorenz Ulrich <lorenz.ulrich@visol.ch>
Tue, 4 Oct 2011 16:07:21 +0000 (18:07 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Sun, 23 Oct 2011 18:18:34 +0000 (20:18 +0200)
commit543f43d0e75c269ee021b6ae64cc04d727f6bb36
tree6115758efbfc4a9ae705c46d86318c40f15f5dce
parentdf58b48a9f972cf23875c2b1d79308a5d2c7c261
[BUGFIX] Reports module: Available services broken

Displaying the available services in the reports module is broken.
This is a regression due to cleaning up the global declarations for
services ($T3_SERVICES) in TYPO4 4.6.

Because of this method t3lib_extMgm::findService cannot be abused
into getting a service by its key explicitly. Hence a new method must
be introduced and used in the available services report.

This patch also introduces method t3lib_extMgm::isServiceAvailable
which refactors part of the services-related code to avoid
duplication.

Change-Id: I15fd7eecaafb52df0599598c5b700e458e63f0d9
Resolves: #30554
Releases: 4.6
Reviewed-on: http://review.typo3.org/5538
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
t3lib/class.t3lib_extmgm.php
typo3/sysext/sv/reports/class.tx_sv_reports_serviceslist.php