Project

General

Profile

Bug #28820

Blank plugin pages with JS error about CustomElementRegistry

Added by Avi Sharvit 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JavaScript stack
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

I used the box `centos7-katello-nightly`.

Foreman pages still work but have an error:
Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "react-component" has already been used with this registry

When navigating to `/subscriptions` or `/foreman_tasks/tasks` I get blank pages together with the JS error.

Associated revisions

Revision 84933633 (diff)
Added by Avi Sharvit 7 months ago

Fixes #28820 - protect registering the react-component

History

#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7374 added

#2 Updated by The Foreman Bot 7 months ago

  • Fixed in Releases 2.0.0 added

#3 Updated by Avi Sharvit 7 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF