Skip to content

Autocomplete for Parent Service in dependencies breaks if name ends with brackets #3038

@C0rn3j

Description

@C0rn3j

Describe the bug

Some of our services have a [A] at the end of their name. When this is used for autocomplete in dependencies (/icingaweb2/director/dependencies/applyrules), this autocompletes the entire service name to just A.

To Reproduce

  1. Name a service something like whatever [A]
  2. Try to autocomplete it in the Parent Service field under Dependencies
  3. It autocompletes wrong

Expected behavior

Full service name autocompleting correctly

Screenshots

Image Image

Your Environment

  • Director version (System - About): 1.11.5
  • Icinga Web 2 version and modules (System - About): Icinga Web 2 Version 2.12.6
  • Icinga 2 version (icinga2 --version):
  • Operating System and version:
  • Webserver, PHP versions: 8.3.29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions