Bug #78977
closedFatal error: Failed to retrieve the reflection object in Extbase Reflection Service
100%
Description
With fixing the caching of MethodReflection objects in #78915, there is an issue now which leads to a fatal error when trying to read the reflection properties of a MethodReflection object restored from cache.
Fatal error: ReflectionFunctionAbstract::getDocComment(): Internal error: Failed to retrieve the reflection object in /var/www/htdocs/typo3_src/typo3/sysext/extbase/Classes/Reflection/MethodReflection.php on line 120
When writing a MethodReflection object to cache, the object gets serialized. As serialize does not take care of virtual properties (such as the reflection properties), the reflection information gets lost. Trying to access reflection properties on an object resumed from cache causes the fatal error.
To fix the error it seems sufficient to call the reflection object's __toString() method before serializing it.
Updated by Gerrit Code Review almost 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50953
Updated by Gerrit Code Review almost 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50953
Updated by Gerrit Code Review almost 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50953
Updated by Gerrit Code Review almost 8 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50963
Updated by Gerrit Code Review almost 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50963
Updated by Gerrit Code Review almost 8 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50953
Updated by Gerrit Code Review almost 8 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50953
Updated by Gerrit Code Review almost 8 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50953
Updated by Gerrit Code Review almost 8 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50953
Updated by Gerrit Code Review almost 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50963
Updated by Gerrit Code Review almost 8 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50967
Updated by Gerrit Code Review almost 8 years ago
Patch set 2 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50967
Updated by Helmut Hummel almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1d0f1c2c35bef195bb4ee7a16db1fad719ad6dc2.
Updated by Gerrit Code Review almost 8 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50968
Updated by Gerrit Code Review almost 8 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50969
Updated by Helmut Hummel almost 8 years ago
- Status changed from Under Review to Resolved
Applied in changeset 60cc6128e7036d9a307638e47b01eeea8711d255.
Updated by Gerrit Code Review almost 8 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50980
Updated by Helmut Hummel almost 8 years ago
- Status changed from Under Review to Resolved
Applied in changeset 5b7c3f6f9abeb04a0e8803b82dea5a002fd69df0.
Updated by Gerrit Code Review almost 8 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50984
Updated by Gerrit Code Review almost 8 years ago
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50984
Updated by Helmut Hummel almost 8 years ago
- Status changed from Under Review to Resolved
Applied in changeset 4983935849938f12ba9b5782b3121b0edc8d4550.
Updated by Gerrit Code Review almost 8 years ago
- Status changed from Resolved to Under Review
Patch set 3 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50984
Updated by Helmut Hummel almost 8 years ago
- Status changed from Under Review to Resolved
Applied in changeset 5124e88a7f4319b593fbf2dbfac767afb7dc0435.