Bug #57271
closedTask #57031: Cleanup Extbase persistance classes
Can't inherit abstract function TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface::_memorizeCleanState()
100%
Description
When changing from TYPO3 6.2rc1 to TYPO3 6.2rc2
Adding an Extbase plugin like this:
30 = USER 30{ userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run extensionName = TcBase vendorName = TYPOCONSULT controller = Page pluginName = Base switchableControllerActions{ Page{ 1 = show } } }
gives me Can't inherit abstract function TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface::_memorizeCleanState()
It worked like a charm in TYPO3 6.2rc1
Any clues?
Updated by Markus Klein over 10 years ago
- Status changed from New to Accepted
- Assignee set to Markus Klein
- Is Regression changed from No to Yes
Thanks for the report.
Problem of last patch merged before the rc2
Updated by Markus Klein over 10 years ago
Which PHP version are you using? (exact version please)
Updated by Markus Klein over 10 years ago
Related:
http://stackoverflow.com/questions/17525620/php-fatal-error-cant-inherit-abstract-function
Comment there:
I recently encountered this Problem as well. For me it helped upgrading from PHP 5.3.8 to PHP 5.3.28.
Some other comment:
... showing that it is fixed since PHP 5.3.9.
Updated by Markus Klein over 10 years ago
Ok found the real problem.
AbstractDomainObject implements DomainObjectInterface, \TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface
Both interfaces now contain _memorizeCleanState() and _isDirty().
Will remove these again from DomainObjectInterface.
Updated by Gerrit Code Review over 10 years ago
- Status changed from Accepted 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/28745
Updated by Markus Klein over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b036a0d4826aec42dbc8ac30c0ae1119d15af9df.
Updated by Claus Harup over 10 years ago
Works again in TYPO3 6.2.0 on PHP 5.3.8 :-)
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed