diff --git a/doc/82-Changelog.md b/doc/82-Changelog.md index e50cd29b..0d599eca 100644 --- a/doc/82-Changelog.md +++ b/doc/82-Changelog.md @@ -33,6 +33,9 @@ This version hasn't been released yet * FEATURE: CIDR notation (network ranges) is supported in such filters (#2757) * FIX: synchronizing Service (and -Set) Templates has been fixed (#2745, #2217) +### REST API +* FIX: Commands give 304 w/o ghost changes for same properties (#2660) + ### Permissions and Restrictions * FIX: monitoring-related permission checks have been refactored (#2712) * FIX: Hostgroup-Filters have not been applied to Overview tables (#2775) diff --git a/library/Director/Objects/IcingaArguments.php b/library/Director/Objects/IcingaArguments.php index e788da8c..e4c23e02 100644 --- a/library/Director/Objects/IcingaArguments.php +++ b/library/Director/Objects/IcingaArguments.php @@ -296,6 +296,7 @@ class IcingaArguments implements Iterator, Countable, IcingaConfigRenderer $this->arguments = IcingaCommandArgument::loadAll($connection, $query, 'argument_name'); $this->cloneStored(); $this->refreshIndex(); + $this->modified = false; return $this; } @@ -360,6 +361,7 @@ class IcingaArguments implements Iterator, Countable, IcingaConfigRenderer } $this->refreshIndex(); $this->cloneStored(); + $this->modified = false; } /** @@ -393,7 +395,9 @@ class IcingaArguments implements Iterator, Countable, IcingaConfigRenderer unset($this->arguments[$key]); } + $this->refreshIndex(); $this->cloneStored(); + $this->modified = false; return $this; }