Bug 2111629

Summary: Dynamic plugin extensions disappear from the UI when a codeRef fails to load
Product: OpenShift Container Platform Reporter: Jon Jackson <jonjacks>
Component: Management ConsoleAssignee: Jon Jackson <jonjacks>
Status: CLOSED WONTFIX QA Contact: Aman Agrawal <amagrawa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.11CC: amagrawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-21 20:17:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2056571    

Description Jon Jackson 2022-07-27 16:49:45 UTC
Description of problem:
Dynamic plugin extensions disappear from the UI when an error is encountered loading a code reference.

Version-Release number of selected component (if applicable):
4.11

Steps to reproduce:
1. A dynamic plugin is installed, enabled, and provides an extension where a codeRef fails to load.
2. An interaction occurs with the extension, and the console attempts to reference the extension codeRef.
3. The extension codeRef fails to load

Actual result:
The extension component disappears from the console. The component will not re-appear unless the plugin is manually re-enabled, which starts this cycle over.

Expected result:
We should improve the UX around failed plugins/extensions so that they do not just disappear from the UI upon failure.

Additional Info:
This can probably be easily reproduced by adding an intentionally "broken" extension to the demo dynamic plugin, then following the steps above

There are at least 2 related bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2071690
https://bugzilla.redhat.com/show_bug.cgi?id=2072965

Comment 1 Jon Jackson 2022-07-27 16:51:43 UTC
*** Bug 2072965 has been marked as a duplicate of this bug. ***

Comment 2 Jon Jackson 2022-11-21 20:17:07 UTC
Migrtated to JIRA: https://issues.redhat.com/browse/OCPBUGS-3951