[!!!][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>
Showing
- typo3/sysext/core/Configuration/TCA/pages.php 1 addition, 31 deletionstypo3/sysext/core/Configuration/TCA/pages.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-71306-DroppedProtocolFieldFromPageTypeLinkToExternalURL.rst 51 additions, 0 deletions...306-DroppedProtocolFieldFromPageTypeLinkToExternalURL.rst
- typo3/sysext/core/Resources/Private/Language/locallang_csh_pages.xlf 1 addition, 9 deletions...t/core/Resources/Private/Language/locallang_csh_pages.xlf
- typo3/sysext/core/Tests/Functional/Tca/PagesVisibleFieldsTest.php 0 additions, 1 deletion...sext/core/Tests/Functional/Tca/PagesVisibleFieldsTest.php
- typo3/sysext/core/ext_tables.sql 0 additions, 1 deletiontypo3/sysext/core/ext_tables.sql
- typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php 5 additions, 5 deletions.../Classes/ContentObject/Menu/AbstractMenuContentObject.php
- typo3/sysext/frontend/Classes/Page/PageRepository.php 11 additions, 12 deletionstypo3/sysext/frontend/Classes/Page/PageRepository.php
- typo3/sysext/frontend/Configuration/TCA/pages_language_overlay.php 1 addition, 11 deletions...ext/frontend/Configuration/TCA/pages_language_overlay.php
- typo3/sysext/frontend/Resources/Private/Language/locallang_tca.xlf 0 additions, 3 deletions...ext/frontend/Resources/Private/Language/locallang_tca.xlf
- typo3/sysext/frontend/Tests/Functional/Tca/PagesLanguageOverlayVisibleFieldsTest.php 0 additions, 1 deletion.../Functional/Tca/PagesLanguageOverlayVisibleFieldsTest.php
- typo3/sysext/frontend/Tests/Unit/Page/PageRepositoryTest.php 36 additions, 5 deletionstypo3/sysext/frontend/Tests/Unit/Page/PageRepositoryTest.php
- typo3/sysext/frontend/ext_tables.sql 0 additions, 1 deletiontypo3/sysext/frontend/ext_tables.sql
- typo3/sysext/install/Classes/Updates/MigrateUrlTypesInPagesUpdate.php 154 additions, 0 deletions.../install/Classes/Updates/MigrateUrlTypesInPagesUpdate.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php 5 additions, 0 deletions...figuration/ExtensionScanner/Php/PropertyPublicMatcher.php
- typo3/sysext/install/ext_localconf.php 2 additions, 0 deletionstypo3/sysext/install/ext_localconf.php
Please register or sign in to comment