Skip to content

[Website] Bugfix: Delist data-liberation-core.phar from the preloaded offline mode assets - #2072

Merged
adamziel merged 1 commit into
trunkfrom
delist-data-liberation-phar-from-offline-assets
Dec 11, 2024
Merged

[Website] Bugfix: Delist data-liberation-core.phar from the preloaded offline mode assets#2072
adamziel merged 1 commit into
trunkfrom
delist-data-liberation-phar-from-offline-assets

Conversation

@adamziel

Copy link
Copy Markdown
Collaborator

Removes data-liberation-core.phar from the list of assets preloaded to support offline mode. It was implicitly added to that list in #2058.

The preloading triggers the following error:

Failed to execute 'addAll' on 'Cache': Cache.addAll(): duplicate requests

The error stops the initialization of the offline mode cache on the first page load. It still work on subsequent page loads. Still, this behavior breaks an E2E test in trunk.

Playground doesn't need to preload that asset. It is only required for a psecific flavor of the importWxr step and there's already an established pattern of not preloading plugins, e.g. the SQLite database integration plugin is not preloaded.

Testing instructions

Confirm the Chromium E2E tests pass

… offline mode assets

Removes data-liberation-core.phar from the list of assets preloaded to
support offline mode. It was implicitly added to that list in #2058.

The preloading triggers the following error:

```
Failed to execute 'addAll' on 'Cache': Cache.addAll(): duplicate requests
```

The error stops the initialization of the offline mode cache on the first
page load. It still work on subsequent page loads. Still, this behavior
breaks an E2E test in trunk.

Playground doesn't need to preload that asset. It is only required for
a psecific flavor of the importWxr step and there's already an established
pattern of not preloading plugins, e.g. the SQLite database integration plugin
is not preloaded.

 ## Testing instructions

Confirm the Chromium E2E tests pass
@adamziel adamziel added [Type] Bug An existing feature does not function as intended [Aspect] Website [Aspect] Offline Mode labels Dec 11, 2024
@adamziel
adamziel merged commit 26660ad into trunk Dec 11, 2024
@adamziel
adamziel deleted the delist-data-liberation-phar-from-offline-assets branch December 11, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Aspect] Offline Mode [Aspect] Website [Type] Bug An existing feature does not function as intended

1 participant