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

Sync rule: update policy "ignore" removes undefined properties #2657

Closed
idandr opened this issue Nov 11, 2022 · 1 comment
Closed

Sync rule: update policy "ignore" removes undefined properties #2657

idandr opened this issue Nov 11, 2022 · 1 comment
Assignees
Labels
Milestone

Comments

@idandr
Copy link

idandr commented Nov 11, 2022

Expected Behavior

With update policy "ignore", updates for the same host should be ignored.

Current Behavior

After an update from director 1.9.1 to 1.10.2 updates of host values (here: "address" not defined) are not ignored with update policy "ignore".

Possible Solution

May be a side effect of #2623, that fixes "merge" but effects "ignore"?

Steps to Reproduce (for bugs)

Have some newly undefined values in an existing hosts import. Set sync update policy to "ignore". Have a look at the sync preview - variables with undefined values would be removed.
image

Your Environment

  • Director version (System - About): 1.10.2
  • Icinga Web 2 version (System - About): 2.11.2
@Thomas-Gelf Thomas-Gelf self-assigned this Dec 6, 2022
@Thomas-Gelf Thomas-Gelf added the bug label Dec 6, 2022
@Thomas-Gelf Thomas-Gelf added this to the v1.11.0 milestone Dec 6, 2022
@Thomas-Gelf
Copy link
Contributor

Note for myself -> branch fix/setting-null-with-merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants