Entity param conversion may be slow due to available context resolution

Created on 22 February 2019, over 5 years ago
Updated 2 May 2024, 4 months ago

Problem/Motivation

Starting from #2942907: Entity system does not provide an API for retrieving an entity variant that is safe for editing , available contexts are retrieved whenever an entity param conversion is performed. This may happen multiple times while displaying a single node because of the way we render local tasks and contextual links and may have an impact on performance .

Proposed resolution

TBD

Remaining tasks

Figure out whether we should add static caching to the context repository or avoid triggering an entity param conversion when rendering local tasks and contextual links.

User interface changes

None

API changes

None foreseen

Data model changes

None

Release notes snippet

TODO

🐛 Bug report
Status

Closed: duplicate

Version

11.0 🔥

Component
Entity 

Last updated about 13 hours ago

Created by

🇮🇹Italy plach Venezia

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024