Werk #18706 · Jan 29, 26
Fix host_label dropdown to handle labels with multiple ":" correctly.
You are affected by this Werk, when you have host labels that contain : in the value. Previous to this change it was not possible to select the complete label in the UI.
Note that if you created a rule with such a broken value, it did not match the original host label. It is highly likely that the broken value did not match any existing labels. A label search using a broken value would only return hosts if there was another label with the same prefix.
This Werk changes the way host labels are displayed in the UI. The matching of host labels in rules remains unchanged.
For example, the label cmk/label_key:label_value:with:colon was previously presented in the UI as cmk/label_key:label_value, which truncated the remainder and prevented correct selection of the whole label in the UI.
Now, the entire value displayed after the first colon is preserved, so it is correctly recognised as label_value:with:colon and can be selected in the dropdown.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Multisite
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0b1All Editions
- 2.4.0p23All Editions