- Issue created by @arif.zisu
- Status changed to Closed: cannot reproduce
about 1 year ago 1:17pm 21 December 2023 - Status changed to Active
9 months ago 9:08pm 14 March 2024 - 🇺🇸United States mark_fullmer Tucson
I am not able to reproduce this error on a Drupal core installation using Layout Builder.
I *am* able to reproduce it when using the module Layout Builder Iframe Modal. Steps to reproduce:
Setup:
- Drupal 10.2.x
- Installed "Layout Builder" & configured a content type to use it
- Installed contrib module "Layout Builder iFrame Modal"1. Create a Layout Builder-enabled node.
2. Add an inline block to the layout (e.g., Basic block).
3. From the Layout tab, use the context edit icon and choose "Remove"
4. Confirm removal from the prompt.
5. Save the layout.
6. The block is successfully removed, however, the logs showInvalidArgumentException: Invalid UUID in Drupal\layout_builder\Section->getComponent() (/core/modules/layout_builder/src/Section.php).
The referring URL in the log message establishes this is coming from Layout Builder iFrame Modal's redirect logic:
/layout_builder/remove/block/overrides/node.1/0/main/312e8b8c-a795-4ddf-a7f5-668eaf1ecb40?destination=%2Flayout_builder_iframe_modal%2Fredirect
- Status changed to Needs work
8 months ago 12:24pm 17 April 2024