[!!!][TASK] Remove sys_domain redirect functionality 27/55427/5
authorBenni Mack <benni@typo3.org>
Mon, 22 Jan 2018 15:43:37 +0000 (16:43 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Tue, 23 Jan 2018 16:55:47 +0000 (17:55 +0100)
commit8c36fd06cc010485e50e2ef022114fce6d439cc9
tree8763e756789a83ea9072e646e07fe2cdddf34e34
parentfe2d2fb8805c96cb2a64f4f82ee5edf6db8f1baf
[!!!][TASK] Remove sys_domain redirect functionality

The existing functionality of sys_domain database records that redirect to a
different target has been migrated into the new "redirects" core extension.

An upgrade wizard ensures that old (and even deleted) sys_domain records
with a redirect target (database field "redirectTo") are properly migrated into
the redirects extension.

The following database fields have been dropped:
- sys_domain.redirectTo
- sys_domain.redirectHttpStatusCode
- sys_domain.prepend_params

These values are not evaluated anymore in the TYPO3 Frontend.

Resolves: #83638
Releases: master
Change-Id: I0577a5bfb9db9e0b5d06b7c5f2d0c6f428c8a4ba
Reviewed-on: https://review.typo3.org/55427
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
12 files changed:
typo3/sysext/backend/Classes/Controller/Page/TreeController.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Tests/Functional/Utility/Fixtures/sys_domain.xml
typo3/sysext/core/Documentation/Changelog/master/Breaking-83638-RedirectFunctionalityMovedFromSys_domainToRedirectsModule.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Classes/Page/PageRepository.php
typo3/sysext/frontend/Configuration/TCA/sys_domain.php
typo3/sysext/frontend/Resources/Private/Language/locallang_tca.xlf
typo3/sysext/frontend/Tests/Functional/Tca/DomainVisibleFieldsTest.php
typo3/sysext/frontend/ext_tables.sql
typo3/sysext/install/Classes/Updates/RedirectsExtensionUpdate.php [new file with mode: 0644]
typo3/sysext/install/ext_localconf.php