Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect usage in text properties #1

Open
Sebobo opened this issue May 17, 2021 · 1 comment
Open

Detect usage in text properties #1

Sebobo opened this issue May 17, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Sebobo
Copy link
Member

Sebobo commented May 17, 2021

When an asset is linked in a text property its usage is currently not registered

@Sebobo Sebobo added the bug Something isn't working label May 17, 2021
@bwaidelich
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants