Project

General

Profile

Actions

Bug #22400

open

Empty group criteria breaks UI for adding new criteria

Added by Elaad FURREEDAN over 1 year ago. Updated 5 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
API
Target version:
Severity:
UX impact:
It bothers me each time
User visibility:
Effort required:
Large
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

It seems like we cannot have an empty group criteria

To reproduce

  1. try to update "query" parameter to {} through the API.
  2. The group will have this query when you will get in through the API:
            "query": {
              "select": "node",
              "composition": "a##nd",
              "where": []
            },
    
  3. In the UI you cannot update add criteria anymore

Workaround

Try to add criteria through API, you can now modify and add new criteria in the UI


Files

clipboard-202302231807-3uthy.png (298 KB) clipboard-202302231807-3uthy.png Elaad FURREEDAN, 2023-02-23 18:07

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #22170: A new group display no nodes while all linux are selectedReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF