Closed (duplicate)
Project:
Experience Builder
Version:
0.x-dev
Component:
Component sources
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Feb 2025 at 06:13 UTC
Updated:
9 Mar 2025 at 20:16 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
larowlanComment #3
larowlanMy page is also mangled (although that could be an 11.x issue)
Comment #4
larowlanComment #5
larowlanAlso happens on 11.1.2
Comment #6
wim leersI'd have expected PHP Warnings to cause test failures 😳 But maybe this only gets triggered in E2E tests? We should expand
cy.drupalUninstall()to verify there's no warning or error log entries, that'd catch this.Still, I wanted to reproduce manually. So I just did a fresh install of
0.x(dce53274decc5ae78eeeb3c6a0006d2f198453ca), and cannot reproduce. I'm on11.1.1and PHP 8.3.15.I even put a breakpoint on that particular line in
block_theme_suggestions_block()and can observe the expected#configurationbeing present:What am I missing? 🙈
Comment #7
larowlanI cannot reproduce this either
I think my 'fresh install' included enabling navigation, layout builder and layout discovery but then uninstalling them.
But skipping that step, can't reproduce.
Putting this down to being under the weather.
Comment #8
larowlanI can reliably reproduce this now.
It requires turning on XB for global regions in olivero
Comment #9
larowlanThe warning is coming from the
\Drupal\experience_builder\Controller\ApiConfigControllers::listfrom entity type ID componentComment #10
wim leersComment #11
effulgentsia commentedI'm not able to reproduce the
block_theme_suggestions_block()warning.I do see the page mangling when I enable "Use Experience Builder for page templates in this theme." in Olivero's settings, especially the page title block getting all narrow like in the issue summary's screenshot. I think that's due to the extra
<div>that XB is adding around regions that #3499364: Implement HTML comment annotations for Regions, replace HTML wrappers aims to remove, so I think this issue is a duplicate of that one.When the checkbox above is not enabled, the markup around the
<main>element is:When the checkbox is enabled, that markup is:
In Chrome inspector, if I remove the classes from that middle div, it fixes the mangling of the page title.