Skip to content

Saving context loads duplicate extensions as scripts #10867

@dsuren1

Description

@dsuren1

Description

Upon saving a context from the context editor, the extensions are loaded using the withExtension HOC, causing script duplication. This results in multiple scripts being loaded in the application, leading to redundant locale calls for the existing extensions and impacting performance.

How to reproduce

QA

  • make sure the application has some extension present, if not add a new one
  • then edit a context (context-creator) and save it
  • observe the Elements for multiple scripts of the same extensions are added
Image

Expected Result

Current Result

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions