Project

General

Profile

Actions

Bug #3340

closed

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

Added by Nicolas CHARLES over 11 years ago. Updated over 11 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

Actions #1

Updated by François ARMAND over 11 years ago

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.

Actions #2

Updated by François ARMAND over 11 years ago

  • Status changed from New to In progress

That one is a difficult one :/

Actions #3

Updated by François ARMAND over 11 years ago

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

Updated by Nicolas CHARLES over 11 years ago

  • 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 !

Actions #6

Updated by François ARMAND over 11 years ago

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

Remark addressed!

Actions #7

Updated by Nicolas CHARLES over 11 years ago

Awesome, merging it

Actions #8

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 #13

Updated by Matthieu CERDA over 11 years ago

  • 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: Atom PDF