Project

General

Profile

Bug #20387

Handle the extra spaces prefixed in discovery rules

Added by Rahul Bajaj over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Team Backlog:
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.

Associated revisions

Revision a6001b10 (diff)
Added by Rahul Bajaj over 1 year ago

Fixes #20387 -Clean redundant code for auto complete search

History

#1 Updated by The Foreman Bot over 1 year ago

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

#2 Updated by Rahul Bajaj over 1 year ago

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

#3 Updated by Rahul Bajaj over 1 year ago

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

Also available in: Atom PDF