Project

General

Profile

Actions

Bug #3853

closed

On node search, regex filter on attribute not in node summary is broken with "OR"

Added by Olivier Mauras over 11 years ago. Updated over 11 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The query engine is behaving weirdly when using OR matching case.
I join you some screenshots that should demonstrate the incorrect behaviours.

Some use cases:
- OR never returns anything when "Include policy server" is checked
- OR returns partial results if trying to match both "Node summary/IP Add" and "Network Interface/IP Add"
- OR only returns correct result if matching both "Node summary/IP Add"

Version used: v.2.7.1~rc1~git201308150001


Files

AND_inc_server.png (17.3 KB) AND_inc_server.png Olivier Mauras, 2013-08-19 19:07
OR_exc_server.png (20.5 KB) OR_exc_server.png Olivier Mauras, 2013-08-19 19:07
OR_inc_server.png (16.6 KB) OR_inc_server.png Olivier Mauras, 2013-08-19 19:07
OR_netint.png (22.9 KB) OR_netint.png Olivier Mauras, 2013-08-19 19:07
OR_netint2.png (18.8 KB) OR_netint2.png Olivier Mauras, 2013-08-19 19:07

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #3866: On node search, "OR" and "include policy server" leads to 0 resultsReleasedFrançois ARMAND2013-08-22Actions
Actions #1

Updated by Matthieu CERDA over 11 years ago

  • Status changed from New to 8

Hello, I'm confirming this. Assigning to VME.

Actions #2

Updated by François ARMAND over 11 years ago

  • Assignee set to François ARMAND
Actions #3

Updated by François ARMAND over 11 years ago

  • Subject changed from Bad query behaviour to On node search, regex filter on attribute not in node summary is broken with "OR"
  • Target version changed from 2.7.1 to 2.4.8

I'm opening a separate bug for the "or + policy server" part.

Checked that it was already here in 2.4

Actions #4

Updated by François ARMAND over 11 years ago

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

Updated by François ARMAND over 11 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #7

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.4.8, which was released today.
Check out:

Actions

Also available in: Atom PDF