Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11598
Created by greatexpectations on 2016-04-15 09:40:07 +00:00
Icingaweb: 2.3.0 rpm packages from Icinga RHEL repository
Clicking on either hostnames or service names from any list view (e.g. Overview -> Hosts, Overview -> Services, etc.) results in the following error message:
The error message seems about right; you cannot select regular columns or scalar values when using the GROUP BY clause.
2016-04-17 23:01:26 +00:00 by elippmann f66daa6
Updated by mfriedrich on 2016-04-15 09:44:45 +00:00
Updated by jandd on 2016-04-15 13:37:19 +00:00
I changed $groupBase in modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php to:
which fixed this issue in our icingaweb2/PostgreSQL setup. The issue has been introduced in 2.3.0.
Updated by greatexpectations on 2016-04-16 09:03:42 +00:00
I can confirm that the above change fixes the issue for our environment as well.
Since this issue made it undetected into a release RPM, I guess that PostgreSQL is a second-tier db platform for development of Icingaweb2. I think that is unfortunate because PostgreSQL is actually pretty compliant with SQL standards (think SQL-92, SQL:1999, SQL:2003 etc.) whereas MySQL is notoriously not enforcing compliant (and thus, more easily portable) SQL code. Maybe some automated tests using PostgreSQL could be incorportated into the build process to counter that tendency?
Updated by elippmann on 2016-04-17 23:03:53 +00:00
Sorry for that bug. We get a bugfix release on its way asap.