Actions
Bug #95823
openExtbase does not support private domain object properties
Start date:
2021-10-30
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Internally, Extbase does not use getters to gather internal property values but uses method _getProperty()
which then calls return $this->{$propertyName};
This however cannot access private properties of the child class.
One idea to get rid of this and other "magic" methods would be to rely on proper access via getters/setters. That way, Extbase could internally use symfony/property-access.
A downside of this is that it's a huge change for those users that don't use getters to expose the internal value directly but add their own logic as well. We would need to make this change very visible to the community so people check and adjust their getters/setters/hassers.
Updated by Benni Mack over 1 year ago
- Target version changed from 12 LTS to Candidate for patchlevel
Actions