Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate displaynames cause problems in Dropdown #427

Closed
moreamazingnick opened this issue Nov 17, 2023 · 1 comment
Closed

Duplicate displaynames cause problems in Dropdown #427

moreamazingnick opened this issue Nov 17, 2023 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@moreamazingnick
Copy link
Contributor

moreamazingnick commented Nov 17, 2023

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
@moreamazingnick
Copy link
Contributor Author

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

@nilmerg nilmerg added the bug Something isn't working label Jan 8, 2024
@nilmerg nilmerg added this to the 2.5.1 milestone Jan 8, 2024
moreamazingnick added a commit to RISE-GmbH/icingaweb2-module-businessprocess that referenced this issue Jan 10, 2024
@nilmerg nilmerg closed this as completed Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants