icingaweb2-module-cube icon indicating copy to clipboard operation
icingaweb2-module-cube copied to clipboard

Filter with custom vars creates wrong filter url

Open mkayontour opened this issue 10 months ago • 1 comments

Describe the bug

Filters which use only one custom vars and the same custom vars as dimension, will be constructed wrongly when klicking on "Show Services Status" or "Show Hosts status".

Example Filter: cube/services?service.vars.rpaprocess=bob&dimensions=service.vars.rpaprocess

To Reproduce

Create a service or host cube like the following. Use the same custom vars for filtering and the dimension.

Image

Then navigate to klick on the show status button.

Image

The highlighted link already shows the wrong url.

Image

You can see that the filter is not correct and therefore the cube doesn't work.

Your Environment

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

  • Web browser used: Edge/Firefox
  • Icinga 2 version used (icinga2 --version): 2.14.5
  • Server operating system and version: Rhel 8

Image

mkayontour avatar Mar 28 '25 08:03 mkayontour

Related to https://github.com/Icinga/icingadb-web/issues/973

nilmerg avatar Mar 28 '25 08:03 nilmerg