[ZBX-21883] Missing empty field validation in Map widget Created: 2022 Nov 07  Updated: 2024 Apr 10  Resolved: 2023 Jun 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.30rc1, 6.0.11rc1, 6.2.5rc1, 6.4.0beta3
Fix Version/s: 6.0.19rc1, 6.4.4rc1, 7.0.0alpha2, 7.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Natalja Romancaka Assignee: Alexander Vladishev
Resolution: Fixed Votes: 0
Labels: dashboard, mapwidget
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File inaccessible-map-correct.png     PNG File inaccessible-map-incorrect.png     PNG File js-error-when-adding-map-tree-element.png     PNG File map.png     PNG File missing-system-user-dev.png     PNG File missing-system-user-master.png     PNG File missing-value-maps-dev.png     PNG File missing-value-maps-master.png     PNG File runtime-error-with-inaccessible-map.png    
Team: Team C
Sprint: Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023)
Story Points: 1

 Description   

Steps to reproduce:

  1. Edit dashboard
  2. Add "Map" widget
  3. Leave the map field empty
  4. Save widget

Result:
map widget saved successfully
Expected:
error message "Invalid parameter "Map": cannot be empty."

Also, the field area shouldn't be grey (looks like disabled field).

 



 Comments   
Comment by Aleksejs Cikuns (Inactive) [ 2023 Jan 10 ]

Fixed for:

  • 5.0.31rc1 PR
  • master PR
Comment by Alexander Vladishev [ 2023 Jun 01 ]

Fixed in:

Comment by Arturs Dancis [ 2023 Jun 05 ]

Documentation updated:

Comment by dimir [ 2023 Jul 14 ]

FYI, this change introduced documentation issue ZBX-23090 .

Generated at Sun Apr 20 21:07:31 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.