Open Sebobo opened 3 years ago
In #12 I suggested [...]
to use the original mechanism to determine usages (using
\Neos\ContentRepository\Domain\Repository\NodeDataRepository::findNodesByPathPrefixAndRelatedEntities()
)
but unfortunately that query is really really slow.
Maybe the "Neos 9.0 Asset Usage projection" can solve as an inspiration on how to extract asset ids: https://github.com/neos/neos-development-collection/blob/5345f6732c723c779ba70aca090605ee807d926e/Neos.Neos/Classes/AssetUsage/Projection/AssetUsageProjection.php#L208-L237
When an asset is linked in a text property its usage is currently not registered