[ZBX-20782] Non unique ids browser console errors are observed when executing Mass update action Created: 2022 Mar 23  Updated: 2024 Apr 10  Resolved: 2022 Apr 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.4.12rc1, 6.0.3rc1, 6.2.0alpha1
Fix Version/s: 6.0.4rc1, 6.2.0alpha1, 6.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Roberts Lataria (Inactive)
Resolution: Fixed Votes: 0
Labels: browsererror, ids, massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
causes ZBX-20947 Hosts are not exported to file Closed
Team: Team A
Sprint: Sprint 86 (Mar 2022), Sprint 87 (Apr 2022)
Story Points: 0.5

 Description   

The following errors are observer in the lists of hosts, items, triggers, item prototypes and trigger prototypes when attempting to execute Mass update action:

  1. [DOM] Found 2 elements with non-unique id #ids_99131: (More info: https://goo.gl/9p2vKq) <input type=​"checkbox" id=​"ids_99131" name=​"ids[99131]​" value=​"99131" class=​"checkbox-radio">​
  2. [DOM] Found 2 elements with non-unique id #context: (More info: https://goo.gl/9p2vKq) <input type=​"hidden" id=​"context" name=​"context" value=​"host">​

Steps to reproduce:

  1. Open the list of hosts, items, triggers, trigger prototypes or item prototypes
  2. Set the select all checkbox to true
  3. Press "Mass update" button
  4. Check browser console

Result: browser console contains the above mentioned "non-unique ids" errors
Expected: all IDs on page should be unique, there should be no such browser errors visible.



 Comments   
Comment by Reinis Detlavs (Inactive) [ 2022 Apr 04 ]

Resolved in development branch feature/ZBX-20782-6.1.

Comment by Reinis Detlavs (Inactive) [ 2022 Apr 12 ]

Fixed in:

Generated at Sat Apr 26 02:54:18 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.