Many form saves can start stepping on each other

Created on 1 August 2025, 10 days ago

Problem/Motivation

If you have many forms active on sub-layout blocks, they can start stepping on each other during save.

Steps to reproduce

This is kind of tricky and lengthy to reproduce.

  1. Add a Layout Block
  2. Add many blocks within the Layout Block
  3. Use the Change tool to edit each of the nested blocks within the Layout Block. This will load all the Block Content forms to the page for editing.
  4. Once all the forms are loaded, make several more edits.
  5. The values of the other blocks will eventually be reverted to an earlier state, but it won't be evident until you either do an action that refreshes the whole Layout Block or refresh the whole page.

Proposed resolution

It is fine that we pass the section storage and the nested section storage around in form state as a handle, but we always need to refresh it from the tempstore before using it.

πŸ› Bug report
Status

RTBC

Version

3.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tim bozeman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024