testProductWithoutVariationsDoesNotCrash errors on core 11.4.x with RuntimeException: Unable to complete AJAX request at line 235 — the assertWaitOnAjaxRequest() after selecting the row plugin in the Views UI "add" wizard. It's red on the 3.x scheduled pipeline and on every MR branched from 3.x. Reproduced deterministically locally on 11.4.4 (3/3). Related earlier fixes: #3520283, #3458280.

Root cause: the Views UI wizard's live-preview/rebuild AJAX doesn't settle the condition assertWaitOnAjaxRequest() waits on (drupalActiveXhrCount === 0 && …) on 11.4, so the wait times out. The server responds 200 — it's the client-side wait that never completes. The wizard isn't what this test is about; it only uses it to create a page view that lists products through the entity row, to check that a product without variations renders.

Issue fork commerce-3614106

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

velmir_taky created an issue. See original summary.

velmir_taky’s picture

Assigned: velmir_taky » Unassigned
Status: Active » Needs review

jsacksick’s picture

Status: Needs review » Fixed

Thank you! There was a fix in core that already landed, but not part of a tagged release just yet... But I don't see a reason why our test should be subject to that... So good job!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.