Cause: The "Add Donut char to Dashboard" button is always visible, even when the app doesn't include a dashboard.
Consequence: Clicking on the button doesn't do anything.
Fix: Remove the button.
Result: The feature is not available, as it should be.
Created attachment 1404245 [details]
Description of problem:
When entering "Open Java Console" for a Java based application running on Red Hat OpenShift Container Platform, the button "Add Donut char to Dashboard" does not do anything.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open "Open Java Console"
2. Navigate to "java.lang"
3. Choose Memory
4. Click "Add Donut char to Dashboard" on "Heap Memory usage"
- Nothing is happening
- Something should happen and one would expect a chart to come-up somewhere.
See screenshot attached
The Java console doesn't include the hawtio-dashboard, therefore it doesn't make sense showing buttons that add UI components to the dashboard and the fix to this issue is the removal of the "Add Donut char to Dashboard" button.
"Add Donut char to Dashboard" button is removed from UI,see the attached picture
openshift-jvm version: 1.2.7
# openshift version
Created attachment 1422872 [details]
"Add Donut char to Dashboard" button is removed from UI
Set to VERIFIED as per Comment 3
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.