Icinga/icingaweb2-module-businessprocess

object names ending with space cause problems

Opened this issue · 0 comments

Describe the bug

object names ending with space cause problems.
I know it is a bad idea to use spaces at the end of object names but it was discovered by a "copy and paste"-create-service-task

To Reproduce

  1. create an service with e.g "test "
  2. add service as a node
  3. store

Expected behavior

Services should be displayed correctly for all valid icinga object names

Screenshots

Screenshot 2023-10-02 133629 Screenshot 2023-10-02 134020 Screenshot 2023-10-02 134555

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, Businessprocess 2.4.0
  • Web browser used: Chrome

Additional context

Add any other context about the problem here.