[TASK] Change some site configuration details 01/57001/9
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 18 May 2018 10:07:52 +0000 (12:07 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 21 May 2018 10:34:01 +0000 (12:34 +0200)
commit4d602166a81823c745f18164f7068e217bfd4516
tree5c53705023bb181b7432d387526fae2e02e9307d
parent5179ff93181cf85bf5e401da63e1194b0a25716e
[TASK] Change some site configuration details

Some first experiences with the new v9.2 site configuration
show us that people think site configuration can be extended
just like any other TCA, but that's not the case. The
patch changes some details to make more clear site
configuration is not just some other sort of TCA with the
same feature set.

* Do not prefix site_* with sys_ anymore to abstract
  better from db tables
* Rename configuration folder SiteConfigurationTca/
  to SiteConfiguration/ to make it more clear this
  is not straight TCA
* Do not load SiteConfiguration into GLOBALS['TCA']
  to distinct from TCA
* Mark extending site configuration experimental, add
  a documentation example and explain what is not working.

Change-Id: I87890ccd07ca73c4ef1f7690c61f8d2185baf575
Resolves: #85050
Releases: master
Reviewed-on: https://review.typo3.org/57001
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
17 files changed:
typo3/sysext/backend/Classes/Configuration/SiteTcaConfiguration.php
typo3/sysext/backend/Classes/Controller/SiteConfigurationController.php
typo3/sysext/backend/Classes/Controller/SiteInlineAjaxController.php
typo3/sysext/backend/Classes/Form/FormDataProvider/SiteDatabaseEditRow.php
typo3/sysext/backend/Classes/Form/FormDataProvider/SiteTcaInline.php
typo3/sysext/backend/Classes/Form/FormDataProvider/SiteTcaSelectItems.php
typo3/sysext/backend/Configuration/SiteConfiguration/site.php [new file with mode: 0644]
typo3/sysext/backend/Configuration/SiteConfiguration/site_errorhandling.php [new file with mode: 0644]
typo3/sysext/backend/Configuration/SiteConfiguration/site_language.php [new file with mode: 0644]
typo3/sysext/backend/Configuration/SiteConfigurationTCA/sys_site.php [deleted file]
typo3/sysext/backend/Configuration/SiteConfigurationTCA/sys_site_errorhandling.php [deleted file]
typo3/sysext/backend/Configuration/SiteConfigurationTCA/sys_site_language.php [deleted file]
typo3/sysext/backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf
typo3/sysext/backend/Resources/Private/Language/siteconfiguration_fieldinformation.xlf
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/SiteDatabaseEditRowTest.php
typo3/sysext/core/Classes/Site/Entity/SiteLanguage.php
typo3/sysext/core/Documentation/Changelog/9.2/Feature-84581-SiteHandling.rst