[!!!][FEATURE] Move generated autoload info to typo3conf 66/50166/3
authorHelmut Hummel <info@helhum.io>
Mon, 10 Oct 2016 17:47:28 +0000 (19:47 +0200)
committerNicole Cordes <typo3@cordes.co>
Mon, 10 Oct 2016 21:53:52 +0000 (23:53 +0200)
commit5186ec799b12b55b32579ed65f334f4ceb4ef980
tree414b560aabb20ae3d4ba2d0750e1d1ef56b64cef
parent9b7ed3aec253bad5221407834903f4231bb6e2b4
[!!!][FEATURE] Move generated autoload info to typo3conf

It turned out to be misleading, that additional class loading
information of extensions (in non composer mode) is in the
typo3temp folder. These files were re-generated on the fly to
lower the impact of the new class loader. However the re-generation
can only be triggered at a late point during the bootstrap.

This caused issues, when extensions tried to hook in a earlier point
e.g. for providing an error or exception handler and removing the complete
typo3temp folder e.g. in deployment scenarios.

To make clear, that class loading information is not a cache,
it is moved to typo3conf.
Additionally the re-generation during the late bootstrap
now triggers a deprecation message.

Additionally to make it easy for users that are not familiar with
executing command line scripts, an action is added to the install tool
to dump autoload information.

Resolves: #78222
Releases: master
Change-Id: I4199b9cf00a5a5e9b9d57e5f7508d321d1c4f9ba
Reviewed-on: https://review.typo3.org/50166
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Build/UnitTestsBootstrap.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Core/ClassLoadingInformation.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-78222-ExtensionAutoloadInformationIsNowInTypo3confautoload.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Deprecation-78222-LateGenerationOfAutoloadInformationIsDeprecated.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-78222-DumpClassLoadingInformationUIInInstallTool.rst [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/Action/Tool/ImportantActions.php
typo3/sysext/install/Resources/Private/Partials/Action/Tool/ImportantActions/DumpAutoload.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/Templates/Action/Tool/ImportantActions.html