Race condition results in same CSS+JS being loaded twice: race between BigPipe's server-side dynamic asset loading and Quick Edit's client-side dynamic asset loading

Created on 21 August 2017, about 7 years ago
Updated 14 April 2023, over 1 year ago

Problem/Motivation

After BigPipe is enabled, the scripts added twice into page that will cause the script executes twice.

reproduce:
- @see #5
- Enables BigPipe and locate to any content node/*

Proposed resolution

Excluded loaded scripts on further page loading.

Remaining tasks

- (Needs to idenify if it affected CSS)
- Patch

User interface changes

-

API changes

-

Data model changes

-

πŸ› Bug report
Status

Active

Version

10.1 ✨

Component
AjaxΒ  β†’

Last updated about 14 hours ago

Created by

πŸ‡­πŸ‡°Hong Kong droplet

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024