Project

General

Profile

Actions

Bug #57271

closed

Task #57031: Cleanup Extbase persistance classes

Can't inherit abstract function TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface::_memorizeCleanState()

Added by Claus Harup over 10 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Extbase
Target version:
Start date:
2014-03-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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?

Actions #1

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

Actions #2

Updated by Markus Klein over 10 years ago

Which PHP version are you using? (exact version please)

Actions #3

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.

Actions #4

Updated by Claus Harup over 10 years ago

PHP Version 5.3.8

Actions #5

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.

Actions #6

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

Actions #7

Updated by Ernesto Baschny over 10 years ago

  • Parent task set to #57031
Actions #8

Updated by Markus Klein over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Claus Harup over 10 years ago

Works again in TYPO3 6.2.0 on PHP 5.3.8 :-)

Actions #10

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF