[BUGFIX] Reflection Cache does not save methodReflections 13/50913/3
authorValentin Despa <valentin.despa@aoe.com>
Fri, 9 Dec 2016 09:22:42 +0000 (10:22 +0100)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Sun, 11 Dec 2016 21:47:28 +0000 (22:47 +0100)
The cached data of the Reflection Cache (table cf_extbase_reflection)
is not stored in its complete form.

The data/part of property 'methodReflections' is NOT stored in the cache.
As a result, the Reflection Cache will be deleted/inserted each time the
methodReflections property is needed

Resolves: #78915
Releases: master,7.6,6.2
Change-Id: I7b2f7477132abca2e10826bed6e78cb1195d2b26
Reviewed-on: https://review.typo3.org/50913
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/extbase/Classes/Reflection/ReflectionService.php

index 947cfd7..d9739d8 100644 (file)
@@ -603,6 +603,7 @@ class ReflectionService implements \TYPO3\CMS\Core\SingletonInterface
             'classTagsValues',
             'methodTagsValues',
             'methodParameters',
+            'methodReflections',
             'propertyTagsValues',
             'taggedClasses',
             'classSchemata'