Breaking: #67402 - Extbase AbstractDomainObject __wakeup()

See forge#67402


Method __wakeup() in classes extending TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject is no longer called if objects are created when fetched from persistence.

Affected Installations

An instance is affected if own domain objects extending AbstractDomainObject implement own __wakeup() methods. Those methods are no longer called.


Move initialization code from __wakeup() to initializeObject(). As a bonus, dependencies have been injection at this point already.