Icinga / icingaweb2-module-director

The Director aims to be your new favourite Icinga config deployment tool. Director is designed for those who want to automate their configuration deployment and those who want to grant their “point & click” users easy access to the configuration.
https://icinga.com/docs/director/latest
GNU General Public License v2.0
413 stars 203 forks source link

Import source: "Set based on filter" cannot be revoked #2864

Open tectumopticum opened 10 months ago

tectumopticum commented 10 months ago

Expected Behavior

In a Property Modifier of an Import rule a "Set based on filter*"-flag should be stored with its value when set from "Yes" to "No".

Current Behavior

If you change the flag from "Yes" to "No" and press the save-button, the flag changes back to "Yes".

Possible Solution

unknown

Steps to Reproduce (for bugs)

  1. select an existing Property Modifier or add a new one (the kind of modifier is not important)
  2. make sure that "Set based on filter*" is set to "No"
  3. change "Set based on filter*" to "Yes"
  4. enter something in the "Filter Expression*"-field (e.g. a=a)
  5. klick on the "Store"-button
  6. change "Set based on filter*" back to "No"
  7. klick on the "Store"-button

The flag changes back to "Yes", the "Filter Expression"-fiel reappears.

Your Environment