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.
This commit is contained in:
Daniel Siepmann 2021-09-06 15:19:06 +02:00
parent 919db32131
commit 8ded245785

View file

@ -29,7 +29,7 @@ use TYPO3\CMS\Extbase\Domain\Model\Category;
use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper; use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper;
use TYPO3\CMS\Extbase\Persistence\Repository; use TYPO3\CMS\Extbase\Persistence\Repository;
class CategoryRepository class CategoryRepository extends Repository
{ {
/** /**
* @var ConnectionPool * @var ConnectionPool