Project

General

Profile

Actions

Bug #20387

closed

Handle the extra spaces prefixed in discovery rules

Added by Rahul Bajaj over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Fixed in Releases:
Found in Releases:

Description

Steps to Reproduce:
1. Navigate to Satellite UI -> Configure -> Discovery Rules. Create a new Discovery rule.
2. Trigger a user error scenario in which a space is prefixed in the Discovery Rule -> Search field - something like ` name~mac*`
3. Provision a host via pxe and check if auto provisioning works

Actual results:
Auto provisioning does not work when search field had space prefixed (by mistake)

Expected results:Provisioning should work.

Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_discovery/pull/366 added
Actions #2

Updated by Rahul Bajaj over 7 years ago

  • Project changed from Discovery to Foreman
  • Pull request https://github.com/theforeman/foreman/pull/4693 added
Actions #3

Updated by Rahul Bajaj over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF