As designed AutoLink::factory always hits database and ignores cached bbcode media

Xon

Well-known member
Affected version
2.0.9
There is a cached value in 'bbCodeMedia', but AutoLink::factory is always calling $app->repository('XF:BbCodeMediaSite')->findActiveMediaSites()->fetch();

This affects XF\Job\PostEmbedMetadata since it can be touching multiple posts at a time.
 
This is intentional as the subsequent code expects an entity and the bbCodeMedia entry in the registry only includes a subset of the data. So no plans right now to change that.
 
Top Bottom