-
Problem report
-
Resolution: Unresolved
-
Trivial
-
7.0.4rc1, 7.2.0alpha1
-
Sprint candidates
-
0.5
Problem description: As per design, it should not be possible to submit widget configuration form, if it is listening for a Host group, Host or an Item from an unavailable widget. This works fine for all existing widget types except for SVG graph and Pie chart widgets - for those widgets the form is successfully submitted:
Steps to reproduce:
- Create a dashboard with the following widgets:
- A honeycomb widget that displays some item
- An SVG graph widget that listens to the item selected in the honeycomb widget
- A Pie chart widget that listens to the item selected in the honeycomb widget
- Save dashboard configuration
- Edit dashboard and delete the honeycomb widget
- Make sure that both SVG graph and Pie chart widgets state that the referred widget is not available.
- Open configuration of the SVG graph and Pie chart widgets one by one and attempt to submit the opened form it without any changes
Result: form is successfully submitted. No errors are displayed
Expected: form should not be submitted. An error, stating that field contains an invalid parameter and that refered widget is not available, should be displayed.