From 8ded2457853b199c021f5efa40704c112fb0daa6 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 6 Sep 2021 15:19:06 +0200 Subject: [PATCH] Fix Category type miss match during import Extbase Category repository was used, while custom Category instances were expected. The repository didn't inherit from Extbase Repository and therefore didn't provide expected findByUid method. --- Classes/Domain/Repository/CategoryRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Domain/Repository/CategoryRepository.php b/Classes/Domain/Repository/CategoryRepository.php index 53a1aeb..029ae56 100644 --- a/Classes/Domain/Repository/CategoryRepository.php +++ b/Classes/Domain/Repository/CategoryRepository.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Extbase\Domain\Model\Category; use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper; use TYPO3\CMS\Extbase\Persistence\Repository; -class CategoryRepository +class CategoryRepository extends Repository { /** * @var ConnectionPool