'noop' component in the model which prevents saving

Created on 6 December 2024, about 1 month ago

Overview

I don't have the specific steps for how this happened but during the recording of DrupalCon Singapore demo, I managed somehow to get a component with 'noop' ID in the model:

{
  "layout": {
    "uuid": "root",
    "nodeType": "root",
    "name": "root",
    "children": [
      ...
    ]
  },
  "model": {
    ...
    "noop": {},
  }
}

This is a major bug because this prevents saving content:

"No component stored for noop. Caused by either incorrect logic or `props` being out of sync with `tree`."

Proposed resolution

Should the frontend remove components from model that are not in the layout so that content can be saved?

User interface changes

🐛 Bug report
Status

Active

Version

0.0

Component

Page builder

Created by

🇫🇮Finland lauriii Finland

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

Comments & Activities

Production build 0.71.5 2024