Project

General

Profile

Actions

Bug #101176

closed

ObjectAccess::getGettablePropertyNames() triggers method calls

Added by Alexander Schnitzler 11 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Should have
Category:
Extbase
Start date:
2023-06-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

\TYPO3\CMS\Extbase\Reflection\ObjectAccess::getGettablePropertyNames() should only list all properties that are accessible via getters/hassers/issers but with the introduction of symfony/property-access, two undesired things happened:

  1. The symfony component performs uncached reflection (something we wanted to avoid with the usage of cached ClassSchema data)
  2. The symfony component actually calls the accessor
Actions

Also available in: Atom PDF