[!!!][TASK] Remove cache_phpcode cache configuration 49/54949/3
authorBenni Mack <benni@typo3.org>
Wed, 6 Dec 2017 18:45:45 +0000 (19:45 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Wed, 6 Dec 2017 20:04:28 +0000 (21:04 +0100)
The "cache_phpcode" cache was used for having TYPO3's own-baked
DBAL layer running. As this is not installed nor shipped anymore, the cache
configuration should be removed.

Resolves: #83243
Releases: master
Change-Id: Ic1c48b4090d3744239bdeb51ce1d178baf10aa40
Reviewed-on: https://review.typo3.org/54949
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-83243-RemovedCache_phpcodeCacheConfiguration.rst [new file with mode: 0644]

index e21a605..5fa2e15 100644 (file)
@@ -132,14 +132,6 @@ return [
                     ],
                     'groups' => ['pages']
                 ],
                     ],
                     'groups' => ['pages']
                 ],
-                'cache_phpcode' => [
-                    'frontend' => \TYPO3\CMS\Core\Cache\Frontend\PhpFrontend::class,
-                    'backend' => \TYPO3\CMS\Core\Cache\Backend\FileBackend::class,
-                    'options' => [
-                        'defaultLifetime' => 0,
-                    ],
-                    'groups' => ['system']
-                ],
                 'cache_runtime' => [
                     'frontend' => \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::class,
                     'backend' => \TYPO3\CMS\Core\Cache\Backend\TransientMemoryBackend::class,
                 'cache_runtime' => [
                     'frontend' => \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::class,
                     'backend' => \TYPO3\CMS\Core\Cache\Backend\TransientMemoryBackend::class,
diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-83243-RemovedCache_phpcodeCacheConfiguration.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-83243-RemovedCache_phpcodeCacheConfiguration.rst
new file mode 100644 (file)
index 0000000..fc08c2e
--- /dev/null
@@ -0,0 +1,26 @@
+.. include:: ../../Includes.txt
+
+============================================================
+Breaking: #83243 - Removed cache_phpcode cache configuration
+============================================================
+
+See :issue:`83243`
+
+Description
+===========
+
+The Caching Framework configuration for `cache_phpcode` is unused since TYPO3 6.0 and has been removed without substitution.
+
+
+Impact
+======
+
+Using `cache_phpcode` will throw a `NoSuchCacheException`.
+
+
+Affected Installations
+======================
+
+Every installation using a 3rd party extension that still relies on `cache_phpcode` is affected.
+
+.. index:: PHP-API, NotScanned
\ No newline at end of file