[ZBX-19036] Templates hostgroup disappears from context multiselect fields in overlays if there are no templates assigned to it Created: 2021 Feb 17  Updated: 2021 Feb 17

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.9rc1, 5.2.5rc1, 5.4.0alpha1
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: context, overlay, templates
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File dissapearing_context.gif    

 Description   

Problem description: If a parent hostgroup doesn't have any templates linked to it, then when it is selected as context in overlay dialogues it disappears from the corresponding multiselect field.

Steps to reproduce:

  1. Make sure that parent host group doesn't have any templates linked to it directly
  2. Navigate to Configuration => Templates
  3. Press "Select" next to the filter field "Linked templates"
  4. In the opened overlay dialogue in context field "Host group" select "Templates"

Result: After "Templates" hostgroup was selected, its name vanishes from the Host group multiselect field.

Expected: The group that is selected in Host group field should remain visible in this field.

Example:


Generated at Fri Apr 11 12:13:02 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.