Trying to repulish a node that has an existing no props component does not work

Created on 6 March 2025, about 1 month ago

Overview

discovered while debugging 🐛 Auto save shows a change when there is not one Active

Steps to reproduce

  1. start with a fresh install and enable xb_dev_standard
  2. create an article
  3. add a drupicon component (only no props component I know of)
  4. Publish the change
  5. reopen the XB UI for the article
  6. add a heading element
  7. Try to publish all again, it should not work

I am this in the error logs

Drupal\experience_builder\MissingComponentInputsException: No props sources stored for dd63bc62-28c2-40ed-b5ab-4ca6b0fa6c16. Caused by either incorrect logic or `inputs` being out of sync with `tree`. in Drupal\experience_builder\Plugin\DataType\ComponentInputs->getValues() (line 129 of /Users/ted.bowman/sites/exp-d-core/modules/contrib/experience_builder/src/Plugin/DataType/ComponentInputs.php).

I checked and dd63bc62-28c2-40ed-b5ab-4ca6b0fa6c16 is the drupicon component. The data in the auto-save entry seems ok. But there is not entry in the model for dd63bc62-28c2-40ed-b5ab-4ca6b0fa6c16 which would seem to be ok as it has no inputs.

In 🐛 Auto save shows a change when there is not one Active I first noticed something related this because before the first save the drupicon component does have an entry in the model. Therefore this caused difference in the hash of the auto-save entry, though functionally the data had the same info(the empty model entry for the drupicon component does really have any extra info)

Proposed resolution

TBD

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