[ZBX-24923] Dashboard widgets can reference to itself Created: 2024 Jul 26  Updated: 2025 Mar 19

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

Type: Problem report Priority: Trivial
Reporter: Aleksandr Kotsegubov Assignee: Valdis Murzins
Resolution: Unresolved Votes: 0
Labels: dashboard, widgets
Remaining Estimate: Not Specified
Time Spent: 106.5h
Original Estimate: Not Specified

Attachments: PNG File Screenshot26.07.24_16.24.41.png     Text File dashboard_create.txt     File templatedashboard.create.json    
Team: Team B
Sprint: Prev.Sprint, S24-W34/35, S24-W36/37, S24-W38/39, S24-W40/41, S24-W42/43, S24-W44/45, S24-W46/47, S24-W48/49, S25-W2/3, S25-W6/7
Story Points: 1

 Description   

The API allows to specify a reference for the widget to itself. In the dashboard editing mode, the widget does not display any errors. However, if you try to open the widget settings, this leads to infinity loading of the widget settings menu.

Steps to reproduce:

  1. Create an empty template.
  2. Use the API request from the attached file, specifying the correct parameters "templateid" of the new template and "auth"
  3. Go to the template dashboard setting;
  4. Open widget setting menu.

Result:
See screenshot. We don't have any error, but we have infinity loading.

Expected:
Error during API request for creation of the dashboard.



 Comments   
Comment by Robert Gontarski [ 2024 Sep 13 ]

Implemented in development branches

Generated at Tue Apr 01 05:22:23 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.