Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
layout_builder.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Mar 2023 at 23:59 UTC
Updated:
10 Jul 2023 at 16:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
nod_Not sure yet why exactly but it seems to be a timing issue, attached patch should fix it.
Comment #3
spokjeThe patch showing that
LayoutBuilderUiTesthas random fails is here: #2856047-65: Avoid random failures in JavascriptTestBase when testing functionality in a dialog.No idea how this works, but
core-3350972-2.patchshows that it _does_ work.RTBC for me,
core-3350972-2-full-suite.patchis the patch to commit.Comment #6
lauriiiI got some helpful context from @nod_ on Slack:
It sound like this a bug that at least @larowlan had hit. @nod_ explained that this is expected behavior for
Drupal.debounce, and that the problem is about the usage of it.Committed 8ea9e1c and pushed to 10.1.x. Also backported to 10.0.x. Thanks!
Comment #7
nod_Comment #10
xjmI also backported this to 9.5.x and 9.4.x since it interferes with the security advisory development process.
Comment #11
xjmComment #14
xjmWhoopsidaisy, JS needs to be rebuilt for the D9 backports. Fail was: https://www.drupal.org/pift-ci-job/2639435
Comment #15
xjmComment #16
spokjeComment #17
xjmThis is actually critical; updating metadata.
Comment #20
xjmAlso given the above criticality, I committed the backport straight from NR. Thanks @Spokje!
Comment #22
meanderix commentedDoes this also fix #3075236: jQuery UI dialog modals repositions incorrectly on window resize when there is a off canvas rendered?
Comment #23
bwaindwain commentedI think this may have caused a bug with browser resizing. See https://www.drupal.org/project/drupal/issues/3359465