Ensure that entity edit forms use the active variant of an entity

Created on 3 March 2019, almost 6 years ago
Updated 24 January 2023, almost 2 years ago

Problem/Motivation

#2942907: Entity system does not provide an API for retrieving an entity variant that is safe for editing β†’ gave us an API for loading the proper active variant of the entity object that should be edited, but entity forms are still loading the default revision.

Proposed resolution

Make entity edit forms use the active variant instead.

Remaining tasks

Review.

User interface changes

Nope.

API changes

Nope.

Data model changes

Nope.

Release notes snippet

Entity edit forms are now editing the active variant of the entity.

πŸ“Œ Task
Status

Needs work

Version

10.1 ✨

Component
EntityΒ  β†’

Last updated about 3 hours ago

Created by

πŸ‡·πŸ‡΄Romania amateescu

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

  • Needs release manager review

    It is used to alert the release manager core committer(s) that an issue significantly affects the overall technical debt or release timeline of Drupal, and their signoff is needed. See the governance policy draft for more information.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request β†’ as a guide.

    Tagging for IS update as a lot has changed since the last patch and this ticket may need to be rescoped for D10. Remaining tasks should be updated.

    This was also previously tagged for a change record which would still need to happen.

    Thanks

Production build 0.71.5 2024