[!!!][TASK] Use protocol in pages.url and migrate pages.urltype 98/53198/11
authorBenni Mack <benni@typo3.org>
Tue, 13 Jun 2017 11:01:44 +0000 (13:01 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 25 Aug 2017 14:32:02 +0000 (16:32 +0200)
commitd072cfa9c27d4701b73af797aa92045b581e17fb
treeaf80243b9e4f0820cf5f26c68e15cdeb99be6544
parent2d45dfe60ed86c84a242e5638739277dab048509
[!!!][TASK] Use protocol in pages.url and migrate pages.urltype

The field pages.urltype contains "0", "1", "2" which maps to a protocol,
however most people want to just paste the url in the "pages.url" field.

This change drops the DB field "pages.urltype" and merges the value
into "pages.url" directly.

Resolves: #71306
Releases: master
Change-Id: I309724ba48ac9c5674a75e79da6cbb6e4880e521
Reviewed-on: https://review.typo3.org/53198
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
15 files changed:
typo3/sysext/core/Configuration/TCA/pages.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-71306-DroppedProtocolFieldFromPageTypeLinkToExternalURL.rst [new file with mode: 0644]
typo3/sysext/core/Resources/Private/Language/locallang_csh_pages.xlf
typo3/sysext/core/Tests/Functional/Tca/PagesVisibleFieldsTest.php
typo3/sysext/core/ext_tables.sql
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
typo3/sysext/frontend/Classes/Page/PageRepository.php
typo3/sysext/frontend/Configuration/TCA/pages_language_overlay.php
typo3/sysext/frontend/Resources/Private/Language/locallang_tca.xlf
typo3/sysext/frontend/Tests/Functional/Tca/PagesLanguageOverlayVisibleFieldsTest.php
typo3/sysext/frontend/Tests/Unit/Page/PageRepositoryTest.php
typo3/sysext/frontend/ext_tables.sql
typo3/sysext/install/Classes/Updates/MigrateUrlTypesInPagesUpdate.php [new file with mode: 0644]
typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php
typo3/sysext/install/ext_localconf.php