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

Single negated membership filter fails with PostgreSQL #4196

Closed
mphilipps opened this issue Jun 30, 2020 · 1 comment · Fixed by #4201
Closed

Single negated membership filter fails with PostgreSQL #4196

mphilipps opened this issue Jun 30, 2020 · 1 comment · Fixed by #4201
Assignees
Labels
area/framework Affects third party integration/development bug Something isn't working
Milestone

Comments

@mphilipps
Copy link

Hi,
Since updating from 2.8.0 to 2.8.1 filtering for Servicegroup (case insensitive) fails when used negated.

/monitoring/list/servicegrid?servicegroup!=Support status

array_map(): Argument #2 should be an array

Also the snapshot builds are still at 2.8.0 undermining the whole point of having them.

@nilmerg
Copy link
Member

nilmerg commented Jun 30, 2020

Hi,

thanks for the report 😐

I know that's only a workaround, but if you use multiple conditions or wrap a single condition in parentheses (i.e. (servicegroup!=Support Status)), this error doesn't occur.

That the snapshots are not up to date, is unfortunately a recurring problem, we're on it.

@nilmerg nilmerg added the bug Something isn't working label Jun 30, 2020
@nilmerg nilmerg self-assigned this Jun 30, 2020
@nilmerg nilmerg added the area/framework Affects third party integration/development label Jun 30, 2020
@nilmerg nilmerg changed the title Regression in 2.8.1 - Servicegroup (case insensitive) Single negated membership filter fails with PostgreSQL Jul 1, 2020
@nilmerg nilmerg added this to the 2.9.0 milestone Jul 6, 2020
@nilmerg nilmerg modified the milestones: 2.9.0, 2.8.2 Aug 14, 2020
nilmerg added a commit that referenced this issue Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/framework Affects third party integration/development bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants