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

Created on 14 August 2012, over 12 years ago
Updated 14 July 2023, over 1 year 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 about 18 hours 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.

Production build 0.71.5 2024