Project

General

Profile

Actions

Task #86968

closed

Switch properties of LazyLoadingProxy to protected

Added by Stefan Neufeind about 6 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2018-11-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

Actions #1

Updated by Gerrit Code Review about 6 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/58926

Actions #2

Updated by Gerrit Code Review almost 6 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/58926

Actions #3

Updated by Gerrit Code Review over 5 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/c/Packages/TYPO3.CMS/+/58926

Actions #4

Updated by Daniel Goerz about 5 years ago

  • Status changed from Under Review to Rejected

We don't need this in master anymore as the other change was merged already. For 9.5 (and due to the fact that nobody "really" cares) this is now superfluous.

Actions

Also available in: Atom PDF