Prevent entity form controllers from being cached twice (in $form and $form_state)

Created on 14 August 2012, almost 13 years ago
Updated 14 July 2023, almost 2 years ago

Spin-off from #1499596-96: Introduce a basic entity form controller :

I noticed that due to $controller->form_state the form state gets serialized *into itself* when it is cached. I've discussed that with plach and we agreed to remove $controller->form_state for now and just pass it on to respective methods always. We may want to simplify the getEntity() calls to do not require the passed on form-state again in the follow-up where we fix the controller being still duplicated to $form and $form_state.

To be completed.

📌 Task
Status

Postponed: needs info

Version

9.5

Component
Entity 

Last updated 4 days ago

Created by

🇮🇹Italy plach Venezia

Live updates comments and jobs are added and updated live.
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

    Wonder if this is still an issue or a way to verify?

  • Status changed to Closed: outdated about 1 month ago
  • 🇳🇿New Zealand quietone

    There has been no work on this task for 13 years. It is likely that it is no longer needed or has been implemented. Therefor, closing.

    If there is work to do here, then either re-open the issue and add a comment or open a new issue and reference this one.

Production build 0.71.5 2024