Issue Bug Closed

#67402Document "__wakeup" no longer called in AbstractDomainObjects as breaking (?)

Christian Kuhn 06/10/15, 21:32 updated 10/19/17, 21:25

Description

with the instantiator patch __wakeup() is no longer called on re-constituting AbstractDomainModel objects from db. This might be breaking … also, the default implementation __wakeup and the empty initializeObject() in

https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/extbase/Classes/DomainObject/AbstractDomainObject.php#L69

are obsolete. In case we decide to remove __wakeup() altogether (probably a good idea), any own __wakeup() method implementation extending AbstractDomainObject will fatal in case it calls parent::__wakeup as documented currently. This would be a breaking change then and should be documented accordingly.

Reviews 1