Project

General

Profile

Actions

Bug #22400

open

Empty group criteria breaks UI for adding new criteria

Added by Elaad FURREEDAN about 1 year ago. Updated about 1 month 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 #1

Updated by Elaad FURREEDAN about 1 year ago

  • Related to Bug #22170: A new group display no nodes while all linux are selected added
Actions #2

Updated by Elaad FURREEDAN about 1 year ago

I think we should be able to let query parameter empty, the minimal parameters for query parameter seems to be

        "query": {
          "select": "node",
          "composition": "and",
          "where": []
        },


But it seems that we want it to be really empty, so allowing:
        "query": {
          "select": "",
          "composition": "",
          "where": []
        },

Actions #3

Updated by Elaad FURREEDAN about 1 year ago

  • Effort required changed from Medium to Large
Actions #4

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.2.5 to 7.2.6
Actions #5

Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 7.2.6 to 7.2.7
Actions #6

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 7.2.7 to 7.2.8
Actions #7

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.2.8 to 7.2.9
Actions #8

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 7.2.9 to 7.2.10
Actions #9

Updated by Alexis Mousset 9 months ago

  • Target version changed from 7.2.10 to 7.2.11
Actions #10

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 7.2.11 to 1046
Actions #11

Updated by Alexis Mousset 6 months ago

  • Target version changed from 1046 to 7.3.8
Actions #12

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.8 to 7.3.9
Actions #13

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.9 to 7.3.10
Actions #14

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 7.3.10 to 7.3.11
Actions #15

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #16

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #17

Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 7.3.13 to 7.3.14
Actions

Also available in: Atom PDF