Breaking-96107-DeprecatedFunctionalityRemoved.rst 14 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
.. include:: ../../Includes.txt

===================================================
Breaking: #96107 - Deprecated functionality removed
===================================================

See :issue:`96107`

Description
===========

The following PHP classes that have previously been marked as deprecated for v11 and were now removed:

14
- :php:`\TYPO3\CMS\Backend\View\BackendTemplateView`
15
- :php:`\TYPO3\CMS\Core\Cache\Backend\PdoBackend`
16
- :php:`\TYPO3\CMS\Core\Cache\Backend\WincacheBackend`
17
- :php:`\TYPO3\CMS\Core\Category\CategoryRegistry`
18
19
- :php:`\TYPO3\CMS\Core\Database\QueryGenerator`
- :php:`\TYPO3\CMS\Core\Database\QueryView`
20
- :php:`\TYPO3\CMS\Core\Database\SoftReferenceIndex`
21
- :php:`\TYPO3\CMS\Core\Service\AbstractService`
22
23
24
25
26
27
28
29
30
- :php:`\TYPO3\CMS\Extbase\Domain\Model\BackendUser`
- :php:`\TYPO3\CMS\Extbase\Domain\Model\BackendUserGroup`
- :php:`\TYPO3\CMS\Extbase\Domain\Model\FrontendUser`
- :php:`\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup`
- :php:`\TYPO3\CMS\Extbase\Domain\Repository\BackendUserGroupRepository`
- :php:`\TYPO3\CMS\Extbase\Domain\Repository\BackendUserRepository`
- :php:`\TYPO3\CMS\Extbase\Domain\Repository\CategoryRepository`
- :php:`\TYPO3\CMS\Extbase\Domain\Repository\FrontendUserGroupRepository`
- :php:`\TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository`
31
- :php:`\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext`
32
33
- :php:`\TYPO3\CMS\Extbase\Mvc\View\AbstractView`
- :php:`\TYPO3\CMS\Extbase\Mvc\View\EmptyView`
34
- :php:`\TYPO3\CMS\Extbase\Service\EnvironmentService`
35
36
37
- :php:`\TYPO3\CMS\Extbase\SignalSlot\Dispatcher`
- :php:`\TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotException`
- :php:`\TYPO3\CMS\Extbase\SignalSlot\Exception\InvalidSlotReturnException`
38
- :php:`\TYPO3\CMS\Frontend\ContentObject\EditPanelContentObject`
39
40
41

The following PHP interfaces that have previously been marked as deprecated for v11 and were now removed:

42
- :php:`\TYPO3\CMS\Backend\Toolbar\ClearCacheActionsHookInterface`
43
- :php:`\TYPO3\CMS\Core\Resource\Hook\FileDumpEIDHookInterface`
44
- :php:`\TYPO3\CMS\Core\Utility\File\ExtendedFileUtilityProcessDataHookInterface`
45
- :php:`\TYPO3\CMS\Extbase\Mvc\View\ViewInterface`
46
- :php:`\TYPO3\CMS\Filelist\FileListEditIconHookInterface'`
47
- :php:`\TYPO3\CMS\Recordlist\RecordList\RecordListHookInterface`
48
49
50
51
52
53
54

The following PHP class aliases that have previously been marked as deprecated for v11 and were now removed:

* :php:`Full\Class\Name`

The following PHP class methods that have previously been marked as deprecated for v11 and were now removed:

55
- :php:`\TYPO3\CMS\Backend\Form\FormDataProvider\AbstractItemProvider->addItemsFromSpecial()`
56
57
- :php:`\TYPO3\CMS\Backend\Template\ModuleTemplate->getIconFactory()`
- :php:`\TYPO3\CMS\Backend\Template\ModuleTemplate->getPageRenderer()`
58
59
60
61
62
63
- :php:`\TYPO3\CMS\Backend\Domain\Module\BackendModule->setNavigationFrameScript()`
- :php:`\TYPO3\CMS\Backend\Domain\Module\BackendModule->getNavigationFrameScript()`
- :php:`\TYPO3\CMS\Backend\Domain\Module\BackendModule->setNavigationFrameScriptParameters()`
- :php:`\TYPO3\CMS\Backend\Domain\Module\BackendModule->getNavigationFrameScriptParameters()`
- :php:`\TYPO3\CMS\Backend\Domain\Module\BackendModule->setOnClick()`
- :php:`\TYPO3\CMS\Backend\Domain\Module\BackendModule->getOnClick()`
64
65
- :php:`\TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools->getArrayValueByPath()`
- :php:`\TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools->setArrayValueByPath()`
66
67
- :php:`\TYPO3\CMS\Core\Database\ReferenceIndex->disableRuntimeCache()`
- :php:`\TYPO3\CMS\Core\Database\ReferenceIndex->enableRuntimeCache()`
68
- :php:`\TYPO3\CMS\Core\Domain\Repository\PageRepository->fixVersioningPid()`
69
- :php:`\TYPO3\CMS\Core\Resource\Event\GeneratePublicUrlForResourceEvent->isRelativeToCurrentScript()`
70
71
- :php:`\TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider->getRootUid()`
- :php:`\TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider->setRootUid()`
72
73
74
75
76
77
78
79
80
- :php:`\TYPO3\CMS\Extbase\Mvc\Controller\ActionController->buildControllerContext()`
- :php:`\TYPO3\CMS\Extbase\Mvc\Controller\ActionController->getControllerContext()`
- :php:`\TYPO3\CMS\Extbase\Mvc\View\JsonView->setControllerContext()`
- :php:`\TYPO3\CMS\Fluid\Core\Rendering\RenderingContext->getControllerContext()`
- :php:`\TYPO3\CMS\Fluid\Core\Rendering\RenderingContext->setControllerContext()`
- :php:`\TYPO3\CMS\Fluid\View\AbstractTemplateView->setControllerContext()`
- :php:`\TYPO3\CMS\Form\Domain\Renderer\AbstractElementRenderer->setControllerContext()`
- :php:`\TYPO3\CMS\Form\Domain\Renderer\RendererInterface->setControllerContext()`
- :php:`\TYPO3\CMS\Form\Domain\Runtime\FormRuntime->getControllerContext()`
81
82
83
84
85
86
87
- :php:`\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->editIcons()`
- :php:`\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->editPanel()`
- :php:`\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->isDisabled()`
- :php:`\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap_editIcons()`
- :php:`\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap_editPanel()`
- :php:`\TYPO3\CMS\Frontend\Plugin\AbstractPlugin->pi_getEditPanel()`
- :php:`\TYPO3\CMS\Frontend\Plugin\AbstractPlugin->pi_getEditIcon()`
88
89
90

The following PHP static class methods that have previously been marked as deprecated for v11 and were now removed:

91
- :php:`\TYPO3\CMS\Backend\Utility\BackendUtility::explodeSoftRefParserList()`
92
- :php:`\TYPO3\CMS\Backend\Utility\BackendUtility::fixVersioningPid()`
93
- :php:`\TYPO3\CMS\Backend\Utility\BackendUtility::softRefParserObj()`
94
- :php:`\TYPO3\CMS\Backend\Utility\BackendUtility::viewOnClick`
95
96
97
98
99
100
- :php:`\TYPO3\CMS\Core\Resource\Index\ExtractorRegistry::getInstance()`
- :php:`\TYPO3\CMS\Core\Resource\Index\FileIndexRepository::getInstance()`
- :php:`\TYPO3\CMS\Core\Resource\Index\MetaDataRepository::getInstance()`
- :php:`\TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\OnlineMediaHelperRegistry::getInstance()`
- :php:`\TYPO3\CMS\Core\Resource\Rendering\RendererRegistry::getInstance()`
- :php:`\TYPO3\CMS\Core\Resource\TextExtraction\TextExtractorRegistry::getInstance()`
101
- :php:`\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable()`
102
- :php:`\TYPO3\CMS\Core\Utility\GeneralUtility::compileSelectedGetVarsFromArray()`
103
104
- :php:`\TYPO3\CMS\Core\Utility\GeneralUtility::hideIfNotTranslated()`
- :php:`\TYPO3\CMS\Core\Utility\GeneralUtility::hideIfDefaultLanguage()`
105
- :php:`\TYPO3\CMS\Core\Utility\GeneralUtility::isFirstPartOfStr()`
106
- :php:`\TYPO3\CMS\Core\Utility\GeneralUtility::rmFromList()`
107
- :php:`\TYPO3\CMS\Core\Utility\GeneralUtility::stdAuthCode()`
108
- :php:`\TYPO3\CMS\Core\Utility\GeneralUtility::uniqueList()`
109
110
111
- :php:`\TYPO3\CMS\Core\Utility\HttpUtility::redirect()`
- :php:`\TYPO3\CMS\Core\Utility\HttpUtility::setResponseCode()`
- :php:`\TYPO3\CMS\Core\Utility\HttpUtility::setResponseCodeAndExit()`
112
113
- :php:`\TYPO3\CMS\Core\Utility\StringUtility::beginsWith()`
- :php:`\TYPO3\CMS\Core\Utility\StringUtility::endsWith()`
114
115
116
- :php:`\TYPO3\CMS\Form\Service\TranslationService::getInstance()`
- :php:`\TYPO3\CMS\T3editor\Registry\AddonRegistry::getInstance()`
- :php:`\TYPO3\CMS\T3editor\Registry\ModeRegistry::getInstance()`
117

118
The following PHP class methods changed signature according to previous deprecations in v11 at the end of the argument list:
119

120
- :php:`\TYPO3\CMS\Core\Core\ApplicationInterface->run()` (argument 1 is removed)
121
122
123
124
125
126
127
128
129
130
131
- :php:`\TYPO3\CMS\Core\Resource\AbstractFile->getPublicUrl()` (argument 1 is removed)
- :php:`\TYPO3\CMS\Core\Resource\File->getPublicUrl()` (argument 1 is removed)
- :php:`\TYPO3\CMS\Core\Resource\FileInterface->getPublicUrl()` (argument 1 is removed)
- :php:`\TYPO3\CMS\Core\Resource\FileReference->getPublicUrl()` (argument 1 is removed)
- :php:`\TYPO3\CMS\Core\Resource\Folder->getPublicUrl()` (argument 1 is removed)
- :php:`\TYPO3\CMS\Core\Resource\InaccessibleFolder->getPublicUrl()` (argument 1 is removed)
- :php:`\TYPO3\CMS\Core\Resource\ProcessedFile->getPublicUrl()` (argument 1 is removed)
- :php:`\TYPO3\CMS\Core\Resource\ResourceStorage->getPublicUrl()` (argument 2 is removed)
- :php:`\TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\OnlineMediaHelperInterface->getPublicUrl()` (argument 2 is removed)
- :php:`\TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\VimeoHelper->getPublicUrl()` (argument 2 is removed)
- :php:`\TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\YouTubeHelper->getPublicUrl()` (argument 2 is removed)
132
- :php:`\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->ATagParams()` (argument 2 is removed)
133

134
135
136
137
138
The following PHP static class methods changed signature according to previous deprecations in v11 at the end of the argument list:

- :php:`\TYPO3\CMS\Core\Utility\ArrayUtility::arrayDiffAssocRecursive()` (argument 3 is removed)

The following PHP class methods changed signature according to previous deprecations in v11 and are now type hinted:
139

140
- :php:`\TYPO3\CMS\Backend\Tree\View\AbstractTreeView->getIcon()` (first argument is now type hinted `array`)
141

142
The following class properties have been removed:
143

144
145
146
147
148
149
150
- :php:`\TYPO3\CMS\Extbase\Mvc\Controller\ActionController->controllerContext`
- :php:`\TYPO3\CMS\Extbase\Mvc\View\JsonView->controllerContext`
- :php:`\TYPO3\CMS\Fluid\Core\Rendering\RenderingContext->controllerContext`
- :php:`\TYPO3\CMS\Fluid\View\AbstractTemplateView->controllerContext`
- :php:`\TYPO3\CMS\Form\Domain\Renderer\AbstractElementRenderer->controllerContext`
- :php:`\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->displayEditIcons`
- :php:`\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->displayFieldEditIcons`
151
- :php:`\TYPO3\CMS\Frontend\Plugin\AbstractPlugin->pi_EPtemp_cObj`
152
153
154

The following class methods visibility have been changed to protected:

155
156
- :php:`\TYPO3\CMS\Core\DataHandling\SoftReference\TypolinkSoftReferenceParser->getTypoLinkParts`
- :php:`\TYPO3\CMS\Core\DataHandling\SoftReference\TypolinkSoftReferenceParser->setTypoLinkPartsElement`
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171

The following class methods visibility have been changed to private:

- :php:`\Full\Class\Name->methodName`

The following class properties visibility have been changed to protected:

- :php:`\Full\Class\Name->propertyName`

The following class properties visibility have been changed to private:

- :php:`\Full\Class\Name->propertyName`

The following ViewHelpers have been changed or removed:

172
173
174
175
176
- :html:`<be:moduleLayout>` removed
- :html:`<be:moduleLayout.menu>` removed
- :html:`<be:moduleLayout.menuItem>` removed
- :html:`<be:moduleLayout.button.linkButton>` removed
- :html:`<be:moduleLayout.button.shortcutButton>` removed
177
- :html:`<f:base>` removed
178
- :html:`<f:be.container>` removed
179
- :html:`<f:uri.email>` removed
180

181
The following TypoScript options have been removed or adapted:
182

183
- `EDITPANEL` content object
184
- `mod.linkvalidator.linkhandler.reportHiddenRecords`
185
186
- `page.includeCSS.myfile*.import`
- `page.includeCSSLibs.myfile*.import`
187
188
189
190
- `stdWrap.editPanel`
- `stdWrap.editPanel.`
- `stdWrap.editIcons`
- `stdWrap.editIcons.`
191
192
193
194
195
196
197

The following constants have been dropped:

- :php:`CONSTANT_NAME`

The following class constants have been dropped:

198
199
- :php:`\TYPO3\CMS\Core\Versioning\VersionState::NEW_PLACEHOLDER_VERSION`
- :php:`\TYPO3\CMS\Core\Versioning\VersionState::MOVE_PLACEHOLDER`
200
201
202

The following global option handling have been dropped and are ignored:

203
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SYS']['defaultCategorizedTables']`
204
205
206
207
208
209
210

The following global variables have been removed:

- :php:`$GLOBALS['KEY']`

The following hooks have been removed:

211
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['additionalBackendItems']['cacheActions']`
212
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['FileDumpEID.php']['checkFileAccess']`
213
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['fileList']['editIconsHook']`
214
215
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['recordlist/Modules/Recordlist/index.php']['drawHeaderHook']`
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['recordlist/Modules/Recordlist/index.php']['drawFooterHook']`
216
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_extfilefunc.php']['processData']`
217
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/browse_links.php']['browserRendering']`
218
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/class.db_list_extra.inc']['actions']`
219
- :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/classes/class.frontendedit.php']`
220
- :php:`$GLOBALS['TBE_MODULES_EXT']['xMOD_db_new_content_el']['addElClasses']`
221

222
223
224
The following single field configurations have been removed from TCA:

- :php:`special` (for TCA type :php:`select`)
225
- :php:`treeConfig.rootUid` (for TCA renderType :php:`selectTree` and :php:`category`)
226

227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
The following signals have been removed:

- :php:`\Full\Class\Name::signalName`

The following features are now always enabled:

- `the.feature.name`

The following features have been removed:

- A feature like a removed upgrade wizard

The following database tables have been removed:

- :sql:`table`

243
The following database table fields have been removed:
244
245
246
247
248
249
250
251
252

- :sql:`table.field`

The following Backend route identifiers have been removed:

- `routeIdentifier`

The following global JavaScript variables have been removed:

253
254
- :js:`top.currentSubScript`
- :js:`top.nextLoadModuleUrl`
255
256
257

The following global JavaScript functions have been removed:

258
259
- :js:`top.goToModule()`
- :js:`top.jump()`
260
261
262
263
264

The following JavaScript modules have been removed:

- :js:`module.name`

265
266
267
268
269
The following module configuration have been removed:

- :php:`navFrameScript`
- :php:`navFrameScriptParam`
- :php:`navigationFrameModule` (Extbase)
270

271
272
273
274
275
276
277
278
279
280
281
282
283
The following command line options have been removed:

- :shell:`impexp:export --includeRelated`
- :shell:`impexp:export --includeStatic`
- :shell:`impexp:export --excludeDisabledRecords`
- :shell:`impexp:export --excludeHtmlCss`
- :shell:`impexp:export --saveFilesOutsideExportFile`
- :shell:`impexp:import --updateRecords`
- :shell:`impexp:import --ignorePid`
- :shell:`impexp:import --forceUid`
- :shell:`impexp:import --importMode`
- :shell:`impexp:import --enableLog`

284
285
286
287
288
289
290
Impact
======

Using above removed functionality will most likely raise PHP fatal level errors,
may change website output or crashes browser JavaScript.

.. index:: Backend, CLI, FlexForm, Fluid, Frontend, JavaScript, LocalConfiguration, PHP-API, TCA, TSConfig, TypoScript, PartiallyScanned