[pkg-nagios-changes] [Git][nagios-team/pkg-icingaweb2][upstream-2.8] New upstream version 2.8.5

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Aug 25 15:27:25 BST 2021



Bas Couwenberg pushed to branch upstream-2.8 at Debian Nagios Maintainer Group / pkg-icingaweb2


Commits:
d7e0acd4 by Bas Couwenberg at 2021-08-25T16:20:37+02:00
New upstream version 2.8.5
- - - - -


16 changed files:

- AUTHORS
- CHANGELOG.md
- VERSION
- application/VERSION
- library/Icinga/Application/Version.php
- library/Icinga/Data/Filter/FilterEqual.php
- library/Icinga/Data/Filter/FilterEqualOrGreaterThan.php
- library/Icinga/Data/Filter/FilterEqualOrLessThan.php
- library/Icinga/Data/Filter/FilterLessThan.php
- modules/doc/module.info
- modules/migrate/module.info
- modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php
- modules/monitoring/module.info
- modules/setup/module.info
- modules/test/module.info
- modules/translation/module.info


Changes:

=====================================
AUTHORS
=====================================
@@ -99,6 +99,7 @@ Pieter Lexis <pieter.lexis at powerdns.com>
 PunkoIvan <punkoivan at gmail.com>
 Ramy Talal <ramy at thinkquality.nl>
 Raphael Bicker <raphael at bicker.ch>
+Ravi Kumar Kempapura Srinivasa <ravi.srinivasa at icinga.com>
 rbelinsky <rbelinsky at dalet.com>
 realitygaps <github at gapsinreality.com>
 Rene Moser <rene.moser at swisstxt.ch>


=====================================
CHANGELOG.md
=====================================
@@ -4,6 +4,13 @@ Please make sure to always read our [Upgrading](doc/80-Upgrading.md) documentati
 
 ## What's New
 
+### What's New in Version 2.8.5
+
+This minor release backports two small fixes to the v2.8.x branch:
+
+* Host- and Servicegroups with not only lowercase names are not found in CI searches with PostgreSQL [#4508](https://github.com/Icinga/icingaweb2/issues/4508)
+* Check if the column in the row is set for filters [#4511](https://github.com/Icinga/icingaweb2/pull/4511)
+
 ### What's New in Version 2.8.4
 
 This release only contains a single fix for flattened custom variables. [#4439](https://github.com/Icinga/icingaweb2/issues/4439)


=====================================
VERSION
=====================================
@@ -1 +1 @@
-v2.8.4
+v2.8.5


=====================================
application/VERSION
=====================================
@@ -1 +1 @@
-800378d819cb54d2fbb7b26c0d8ef19edbd16788 2021-07-27 15:48:44 +0200
+9a78fab17bf13552f57b115fac20a7e438c28669 2021-08-24 09:46:18 +0200


=====================================
library/Icinga/Application/Version.php
=====================================
@@ -8,7 +8,7 @@ namespace Icinga\Application;
  */
 class Version
 {
-    const VERSION = '2.8.4';
+    const VERSION = '2.8.5';
 
     /**
      * Get the version of this instance of Icinga Web 2


=====================================
library/Icinga/Data/Filter/FilterEqual.php
=====================================
@@ -7,6 +7,10 @@ class FilterEqual extends FilterExpression
 {
     public function matches($row)
     {
+        if (! isset($row->{$this->column})) {
+            return false;
+        }
+
         return (string) $row->{$this->column} === (string) $this->expression;
     }
 }


=====================================
library/Icinga/Data/Filter/FilterEqualOrGreaterThan.php
=====================================
@@ -7,6 +7,10 @@ class FilterEqualOrGreaterThan extends FilterExpression
 {
     public function matches($row)
     {
+        if (! isset($row->{$this->column})) {
+            return false;
+        }
+
         return (string) $row->{$this->column} >= (string) $this->expression;
     }
 }


=====================================
library/Icinga/Data/Filter/FilterEqualOrLessThan.php
=====================================
@@ -17,6 +17,10 @@ class FilterEqualOrLessThan extends FilterExpression
 
     public function matches($row)
     {
+        if (! isset($row->{$this->column})) {
+            return false;
+        }
+
         return (string) $row->{$this->column} <= (string) $this->expression;
     }
 }


=====================================
library/Icinga/Data/Filter/FilterLessThan.php
=====================================
@@ -17,6 +17,10 @@ class FilterLessThan extends FilterExpression
 
     public function matches($row)
     {
+        if (! isset($row->{$this->column})) {
+            return false;
+        }
+
         return (string) $row->{$this->column} < (string) $this->expression;
     }
 }


=====================================
modules/doc/module.info
=====================================
@@ -1,4 +1,4 @@
 Module: doc
-Version: 2.8.4
+Version: 2.8.5
 Description: Documentation module
  Extracts, shows and exports documentation for Icinga Web 2 and its modules.


=====================================
modules/migrate/module.info
=====================================
@@ -1,5 +1,5 @@
 Module: migrate
-Version: 2.8.4
+Version: 2.8.5
 Description: Migrate module
  This module was introduced with the domain-aware authentication feature in version 2.5.0.
  It helps you migrating users and user configurations according to a given domain.


=====================================
modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php
=====================================
@@ -573,7 +573,10 @@ abstract class IdoQuery extends DbQuery
         $column = $subQuery->aliasToColumnName($alias);
         if (isset($this->caseInsensitiveColumns[$subQuery->aliasToTableName($alias)][$alias])) {
             $column = 'LOWER( ' . $column . ' )';
+            $subQueryFilter->setColumn($column);
             $subQueryFilter->setExpression(array_map('strtolower', (array) $subQueryFilter->getExpression()));
+        } else {
+            $subQueryFilter->setColumn($column);
         }
 
         $additional = null;
@@ -653,10 +656,6 @@ abstract class IdoQuery extends DbQuery
         $exists = new FilterExpression($negate ? 'NOT EXISTS' : 'EXISTS', '', new Zend_Db_Expr($subQuery));
 
         if ($additional !== null) {
-            $alias = $additional->getColumn();
-            $this->requireColumn($alias);
-            $additional->setColumn($this->aliasToColumnName($alias));
-
             return Filter::matchAll($exists, $additional);
         }
 


=====================================
modules/monitoring/module.info
=====================================
@@ -1,5 +1,5 @@
 Module: monitoring
-Version: 2.8.4
+Version: 2.8.5
 Description: Icinga monitoring module
  IDO accessor and UI for your monitoring. This is the initial instalment for a
  graphical presentation of Icinga environments. The predecessor of Icinga DB.


=====================================
modules/setup/module.info
=====================================
@@ -1,5 +1,5 @@
 Module: setup
-Version: 2.8.4
+Version: 2.8.5
 Description: Setup module
  Web based wizard for setting up Icinga Web 2 and its modules.
  This includes the data backends (e.g. relational database, LDAP),


=====================================
modules/test/module.info
=====================================
@@ -1,5 +1,5 @@
 Module: test
-Version: 2.8.4
+Version: 2.8.5
 Description: Translation module
  This module allows developers to run (unit) tests against Icinga Web 2 and
  any of its modules. Usually you do not need to enable this.


=====================================
modules/translation/module.info
=====================================
@@ -1,5 +1,5 @@
 Module: translation
-Version: 2.8.4
+Version: 2.8.5
 Description: Translation module
  This module allows developers and translators to translate Icinga Web 2 and
  its modules for multiple languages. You do not need this module to run an



View it on GitLab: https://salsa.debian.org/nagios-team/pkg-icingaweb2/-/commit/d7e0acd4b59c234286ff5dce4f888f2d9ba32378

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-icingaweb2/-/commit/d7e0acd4b59c234286ff5dce4f888f2d9ba32378
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20210825/b08d73e2/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list