I’m trying to extend the Neos\Media\Domain\Model\Asset for some more properties with my custom ExtendedMetadataAsset I am only using in a part of my application. I also extended the AssetRepository with my custom AssetMetadataAssetRepository which is extending Neos\Media\Domain\Repository\AssetRepository.
I am importing pages, files & articles of a WordPress project into Neos. While importing pages and articles into nodes is working like a charm, Neos and Wordpress have totally different ways of managing files (generated _Resource/Persistent/[…] vs upload folder with sub folder structure). I want to import the files and save more meta data than copyright and description for later researches e.g. the old folder structure / old public urls, the old WordPress identifier, old WordPress author id etc.
I have separated those data in another database table vendor_package_extendedmetadataasset and my import is working but this breaks the editorial backend.
My next attempt is to remove my custom Model and Repository right after import to restore backend media management and I still have this data in the database if it is not possible to provide it by Neos.