Project

General

Profile

Actions

Bug #3340

closed

Node query with OR and regexp doesn't OR the result

Bug #3340: Node query with OR and regexp doesn't OR the result

Added by Nicolas CHARLES almost 13 years ago. Updated almost 13 years ago.

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

Description

When using a query with "OR", when one line use a regexp, the lines are not ORed...
Example :
Node summary hostname Regexp blabliblu[0-9].*
OR
Node summary Operating System Type = Linux

-> 0 results

Updated by François ARMAND almost 13 years ago Actions #1

Tobe more precise: if there is only regex, it works as expected, you need to have at least one other comparator to have a bad result.

Updated by François ARMAND almost 13 years ago Actions #2

  • Status changed from New to In progress

That one is a difficult one :/

Updated by François ARMAND almost 13 years ago Actions #3

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES

Updated by Nicolas CHARLES almost 13 years ago Actions #5

  • Status changed from Pending technical review to Discussion
  • Assignee changed from Nicolas CHARLES to François ARMAND

This looks valid
Appart from the typo and the comment, everything seems correct. Could you correct the method name please ?

Thank you !

Updated by François ARMAND almost 13 years ago Actions #6

  • Status changed from Discussion to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES

Remark addressed!

Updated by Nicolas CHARLES almost 13 years ago Actions #7

Awesome, merging it

Updated by François ARMAND almost 13 years ago Actions #8

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

Updated by Matthieu CERDA almost 13 years ago Actions #13

  • Status changed from Pending release to Released

This ticket has been adressed in the 2.3.11 release of Rudder.

The ChangeLog is available here: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog23

Actions

Also available in: PDF Atom