[ZBX-25041] It is possible to submit SVG graph and Pie chart widget configuration if it listens for an item from an unavailable widget Created: 2024 Aug 14  Updated: 2025 Mar 19

Status: READY TO DEVELOP
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 7.0.4rc1, 7.2.0alpha1
Fix Version/s: 7.0.12rc1, 7.2.6rc1, 7.4.0beta1 (master)

Type: Problem report Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Dmitrijs Fofanovs
Resolution: Unresolved Votes: 0
Labels: communication, widget
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File submitting_widget_config_that_listens_to_unavailable_widget.gif    
Team: Team A
Sprint: Sprint candidates
Story Points: 0.5

 Description   

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:

  1. Create a dashboard with the following widgets:
    1. A honeycomb widget that displays some item
    2. An SVG graph widget that listens to the item selected in the honeycomb widget
    3. A Pie chart widget that listens to the item selected in the honeycomb widget
  2. Save dashboard configuration
  3. Edit dashboard and delete the honeycomb widget
  4. Make sure that both SVG graph and Pie chart widgets state that the referred widget is not available.
  5. 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.


Generated at Tue Apr 01 18:31:14 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.