#106814Cast record type to string
Description
The record type can be an integer, e.g. in EXT:news.
this fails now with
TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap::__construct(): Argument #3 ($recordType) must be of type ?string, int given, called in /var/www/html/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php on line 122