Issue Task Rejected

#86968Switch properties of LazyLoadingProxy to protected

Stefan Neufeind 11/21/18, 19:37 updated 10/25/19, 23:25

Description

As long as they are private you can’t access the properties even from an extended class.

The aim of this is to able to do something like described in #86967 (new feature) by overriding LazyLoadingProxy with your own implementation. Works once the properties (here: fieldValue) is protected.

Overriding in ext_localconf.php with:
$GLOBALS[‘TYPO3_CONF_VARS’][‘SYS’][‘Objects’][\TYPO3\CMS\Extbase\Persistence\Generic\LazyLoadingProxy::class] = [‘className’ => \Vendor\YourExtension\LazyLoadingProxy::class];

If possible I’d suggest if this could then also be done for 8 LTS.

Reviews 1