- Issue created by @larowlan
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
My page is also mangled (although that could be an 11.x issue)
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Also happens on 11.1.2
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
I'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.1
and PHP 8.3.15.I even put a breakpoint on that particular line in
block_theme_suggestions_block()
and can observe the expected#configuration
being present:What am I missing? π
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I 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.
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I can reliably reproduce this now.
It requires turning on XB for global regions in olivero - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
The warning is coming from the
\Drupal\experience_builder\Controller\ApiConfigControllers::list
from entity type ID component - πΊπΈUnited States effulgentsia
I'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 skinny like in the issue summary's screenshot. I think that's due to the extra
<div>
that XB is adding around regions that π Implement HTML comment annotations for Regions, replace HTML wrappers Active 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:<div class="main-content__container container"> <main role="main" class="site-main">
When the checkbox is enabled, that markup is:
<div class="main-content__container container"> <div class="sidebar-grid grid-full"> <main role="main" class="site-main">
In Chrome inspector, if I remove the classes from that middle div, it fixes the mangling of the page title.