Click publish shortly after making a change can lead to error

Created on 22 April 2025, 2 days ago

Overview

found this from πŸ› Messages in \Drupal\experience_builder\Controller\ErrorCodesEnum are not helpful Active
@lauriii wrote

I ran into this by making a change and then quickly trying to publish it after making that change. I think the error I got was "This item is unexpected." and it was really confusing because I had no idea what is "this" in the context of the message and why it was unexpected.

I was able to reproduce this too but not consistently

Proposed resolution

When returning the updated layout preview also return the item's auto-save

Merge this on the client side with the existing list of auto-saves

User interface changes

πŸ› Bug report
Status

Active

Version

0.0

Component

Page builder

Created by

πŸ‡ΊπŸ‡ΈUnited States tedbow Ithaca, NY, USA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024