Project

General

Profile

Actions

Bug #10735

closed

Defining discovery rule with "organization = under search raises 500 ISE in production.log

Added by Stephen Benjamin almost 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1202307
Description of problem:
I was trying to define a discovery rule based on org_name, so I choose organization = from auto search. As soon as I auto selected "organization = ", UI throws following error in firebug:

--
"NetworkError: 500 Internal Server Error - https://dhcp201-163.englab.pnq.redhat.com/discovered_hosts/auto_complete_search?search=+organization++%3D+"
--

production.log raises:

--
2015-03-16 11:18:43 [I] Processing by DiscoveredHostsController#auto_complete_search as JSON
2015-03-16 11:18:43 [I] Parameters: {"search"=>" organization = "}
2015-03-16 11:18:43 [W] Operation FAILED: missing attribute: default_info
2015-03-16 11:18:43 [I] Rendered common/500.html.erb (5.4ms)
2015-03-16 11:18:43 [I] Completed 500 Internal Server Error in 23ms (Views: 6.1ms | ActiveRecord: 1.8ms)
2015-03-16 11:18:53 [I] Processing by DiscoveredHostsController#auto_complete_search as JSON
2015-03-16 11:18:53 [I] Parameters: {"search"=>" organization = "}
2015-03-16 11:18:53 [W] Operation FAILED: missing attribute: default_info
2015-03-16 11:18:53 [I] Rendered common/500.html.erb (5.4ms)
2015-03-16 11:18:53 [I] Completed 500 Internal Server Error in 23ms (Views: 6.1ms | ActiveRecord: 1.9ms)
--

Version-Release number of selected component (if applicable):
sat6.1 beta snap6 compose2 (Satellite-6.1.0-RHEL-6-20150311.1).

How reproducible:
always

Steps to Reproduce:
1. go to configure --> discovery_rule
2. add a new rule and search query for "organization =
3.

Actual results:
--
"NetworkError: 500 Internal Server Error - https://dhcp201-163.englab.pnq.redhat.com/discovered_hosts/auto_complete_search?search=+organization++%3D+"
--

Expected results:
no error

Additional info:

Actions #1

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5283 added
  • Pull request deleted ()
Actions #2

Updated by Eric Helms almost 9 years ago

  • translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions #3

Updated by Anonymous almost 9 years ago

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

Also available in: Atom PDF