Icinga / icingaweb2-module-businessprocess

Create top-level views of your applications in a graphical editor. Rules express dependencies between existing hosts and services and let you alert on application level. Business processes are displayed in a tree or list overview.

Home Page:https://icinga.com/docs/businessprocess/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplicate displaynames cause problems in Dropdown

moreamazingnick opened this issue · comments

Describe the bug

Duplicate displaynames cause problems in Dropdown

To Reproduce

Example file

### Business Process Config File ###
#
# Owner           : nicolas
# AddToMenu       : yes
# Statetype       : soft
#
###################################

Storage1 = 
display 0;Storage1;Storage

Database1 = Storage1
display 1;Database1;Database
Storage2 = 
display 0;Storage2;Storage

Webserver = Storage2
display 1;Webserver;Webserver


  1. Create a BP with duplicate Service Displaynames (example file)
  2. Try to add Storage to another Process
  3. Can't differentiate which is which

Expected behavior

Render unique indetifier too for example in brackets

Screenshots

Screenshot 2023-11-17 132346 Screenshot 2023-11-17 132422

Your Environment

Include as many relevant details about the environment you experienced the problem in

  • Icinga Web 2 version and modules (System - About): 2.12.1
  • Business Process 2.5.0
  • Web browser used: Chrome

what about this output?
Screenshot 2023-11-22 124907