Task #40333
Task #40095: Move core to namespaces
Change all Extbase ExtensionUtility::registerModule calls in the core
Status: | Resolved | Start date: | 2012-08-28 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | - | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 6.0 | Complexity: | ||
PHP Version: | Sprint Focus: |
Description
After #40243 gets merged the vendor name has to be prepended to the EXTKEY parameter of \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule in all namespaced Extbase modules.
For example in typo3/sysext/about/ext_tables.php:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule($_EXTKEY, 'help', 'about', 'top', array(
'About' => 'index'
), array(
'access' => 'user,group',
'icon' => 'EXT:about/ext_icon.gif',
'labels' => 'LLL:EXT:lang/locallang_mod_help_about.xlf'
));
has to be changed to:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('TYPO3.CMS.' . $_EXTKEY, 'help', 'about', 'top', array(
'About' => 'index'
), array(
'access' => 'user,group',
'icon' => 'EXT:about/ext_icon.gif',
'labels' => 'LLL:EXT:lang/locallang_mod_help_about.xlf'
));
Associated revisions
[BUGFIX] Properly register extbase BE modules
Change ExtensionUtility::registerModule($_EXTKEY, ...) calls to
ExtensionUtility::registerModule('TYPO3.CMS.' . $_EXTKEY, ...)
Change-Id: Ia5edc3f73e66d31e69941ebbbe457d294bf7084c
Fixes: #40333
Relates: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14196
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] Properly register extbase BE modules
Change ExtensionUtility::registerModule($_EXTKEY, ...) calls to
ExtensionUtility::registerModule('TYPO3.CMS.' . $_EXTKEY, ...)
Change-Id: Iec3a48a6667b51a74979cd41a79e6b7d872a561d
Fixes: #40333
Relates: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14197
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
History
#1 Updated by Gerrit Code Review almost 3 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 http://review.typo3.org/14196
#2 Updated by Gerrit Code Review almost 3 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14197
#3 Updated by Gerrit Code Review almost 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14196
#4 Updated by Gerrit Code Review almost 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14197
#5 Updated by Helmut Hummel almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b7b7cc0091c5999b390e9898f24dbc69ee36c7a1.