Bug #47720
closedClass * contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (TYPO3\CMS\Extbase\Persistence\RepositoryInterface::findByIdentifier)
0%
Description
Hello Guys,
updating from 6.0 to 6.1 causes the following error in extbase, perhaps we should think about defining the method "non" abstrakt with a deprecation warning, or any other fix.
I think this can be a real showstopper, as all extension_builder extensions prior 6.0 will throw this error.
Regards
Kay
Updated by Wouter Wolters over 11 years ago
Hi Kay,
How did you produced this error? The interface is only used in typo3/sysext/extbase/Classes/Persistence/Repository.php and implements the function.
Updated by Kay Strobach over 11 years ago
:D
I have an extension called themes, which has a repository interfaces the normal repo like extbase does it:
class Tx_Themes_Domain_Repository_ThemeRepository implements Tx_Extbase_Persistence_RepositoryInterface, t3lib_Singleton {
I see i use the inteface way to extend the class, so the interface has changed :(, mhmm, ok perhaps we can close the issue, but changing interfaces are a bad decission at all.
Regards
Kay
Updated by Kay Strobach over 11 years ago
Mhmm, for me (after rereading the code) the usage of the interface is still correct, as i have a repository, which can't be persisted anyhow. Each record is taken from an array, so it's not suitable for me to "extend" the persistence repository.
Updated by Kay Strobach over 11 years ago
changing the declaration also solves this problem. Anyway it's scary if interfaces change!
class Tx_Themes_Domain_Repository_ThemeRepository extends Tx_Extbase_Persistence_Repository implements t3lib_Singleton {
Updated by Christian Kuhn over 11 years ago
- Category changed from 1394 to Miscellaneous
Updated by Mathias Schreiber over 9 years ago
- Status changed from New to Closed
- Is Regression set to No
assuming "fixed"