Project

General

Profile

Actions

Bug #19138

closed

Add an option to invert result of a node query

Added by François ARMAND about 3 years ago. Updated about 3 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

Since #19137 is hard to correct, as a workaround, we can add the possibility to invert restsult of a query globaly
(better solution whould be to add "not" for each criteria, but this is almost as hard as correcting #19137).

Expected UI:

Example of results if you have the following installed software:

- root: {nano}
- agent1: {nano, emacs-common}
- agent2: {}

  • for nano:
       name = nano               => agent1
invert name = nano               => agent2
       name = nano, include root => agent1, root
invert name = nano, include root => agent2
  • for emacs-common:
       name = emacs               => agent1
invert name = emacs               => agent2
       name = emacs, include root => agent1
invert name = emacs, include root => agent2, root

Files

clipboard-202104091521-f2rbn.png (42.9 KB) clipboard-202104091521-f2rbn.png François ARMAND, 2021-04-09 15:21

Subtasks 5 (0 open5 closed)

Bug #19139: "isBlank" is not supported in jvm8ReleasedVincent MEMBRÉActions
Bug #19143: inverting a request with 0 answer leads to 0 answerReleasedVincent MEMBRÉActions
Bug #19146: in some case inverting a request leads to an error and 0 resultsReleasedVincent MEMBRÉActions
Bug #19160: Query type constructor broke scale out relay pluginReleasedFrançois ARMANDActions
Bug #19170: Binary compatibility still broken by queryReleasedAlexis MoussetActions

Related issues 1 (1 open0 closed)

Related to Rudder - Bug #19137: notExists, notEquals, notRegex does not work on subelements like software, disks, etcNewActions
Actions #1

Updated by François ARMAND about 3 years ago

  • Status changed from New to In progress
Actions #2

Updated by François ARMAND about 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/3581
Actions #3

Updated by François ARMAND about 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by François ARMAND about 3 years ago

  • Description updated (diff)
Actions #5

Updated by François ARMAND about 3 years ago

  • Description updated (diff)
Actions #6

Updated by Vincent MEMBRÉ about 3 years ago

  • Fix check changed from To do to Checked
Actions #7

Updated by Vincent MEMBRÉ about 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.2.5 which was released today.

Actions #8

Updated by François ARMAND about 2 years ago

  • Related to Bug #19137: notExists, notEquals, notRegex does not work on subelements like software, disks, etc added
Actions

Also available in: Atom PDF