Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tectumopticum opened this issue Feb 1, 2024 · 0 comments
Open

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

tectumopticum opened this issue Feb 1, 2024 · 0 comments

Comments

@tectumopticum
Copy link

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

  • Director version (System - About): 1.11.0
  • Icinga Web 2 version and modules (System - About): 2.12.1
    businessprocess 2.4.1
    clustergraph 1.0.5
    company 1.0.0
    cube 1.3.2
    director 1.11.0
    doc 2.12.1
    eventtracker 0.9.0
    fileshipper 1.2.0
    grafana 2.0.3
    icingadb 1.1.1
    idoreports 0.10.0
    incubator 0.20.0
    map 2.0.0
    migrate 2.12.1
    pdfexport 0.10.1
    reporting 1.0.1
    vspheredb 1.7.1
    x509 1.3.2
  • Icinga 2 version (icinga2 --version): 2.14.2
  • Operating System and version: SLES 15 SP5
  • Webserver, PHP versions: Apache/2.4.51, PHP 8.0.30 (cli) (built: Aug 23 2023 12:00:00) ( NTS )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant