Icinga / icingaweb2-module-cube

Drill-down view for Icinga web 2 based on custom variables
GNU General Public License v2.0
45 stars 12 forks source link

Array dimensions get lost when showing cube details #109

Closed nilmerg closed 1 year ago

nilmerg commented 1 year ago

Describe the bug

If you have a custom var that holds an array and you choose it as dimension, clicking on a cube opens a detail that doesn't use the dimension as filter.

To Reproduce

  1. Use IcingaDB as backend
  2. Have a customvar that holds an array
  3. Choose it as dimension in either host or service cube view
  4. Click on a cube

Expected behavior

The cube shows the filter in the title and clicking on "Show ... status" opens the filtered list.

Screenshots

Working: Screenshot from 2023-01-25 13-05-17

Broken: Screenshot from 2023-01-25 13-04-21

Your Environment

Additional context

Works in the latest release. Broke with a recent change.