Bug 1111531

Summary: Search on filter page for filtering resources raises NetworkError 404 not found
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: Users & RolesAssignee: Stephen Benjamin <stbenjam>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, bkearney, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/6435
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-03 17:06:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
firebug raises NetworkError 400 not found none

Description Sachin Ghai 2014-06-20 09:04:46 UTC
Created attachment 910710 [details]
firebug raises NetworkError 400 not found

Description of problem:
I was trying add permissions to selected role. So I choose "View_content_views" from resource type "Content View" and try to search the resources and UI throws 404 in firebug. Please see the screenshot.

Production.log has following entries:


ActionController::RoutingError (No route matches [GET] "/katello/content_views/auto_complete_search"):
  /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
  /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
  /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
  /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'



ActionController::RoutingError (No route matches [GET] "/katello/content_views/auto_complete_search"):
  /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
  /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
  /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
  /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'



Version-Release number of selected component (if applicable):
sat6 beta snap10

How reproducible:
always

Steps to Reproduce:
1. create a role
2. add permissions, choose 'content view' as resource type
3. add "View_content_views" permission
4. uncheck "Unlimited" check box
5. in search box, just click

Actual results:
Network error 404 not found

Expected results:
Resource should be available and no 404 should be raised

Additional info:

Comment 1 RHEL Program Management 2014-06-20 09:04:51 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Sachin Ghai 2014-06-20 14:14:48 UTC
Looks like issue is specific to content-view resource. I tried other resources like activation-key and Lifecycle env and didn't face this issue with them.

Comment 4 Stephen Benjamin 2014-06-30 09:38:01 UTC
Created redmine issue http://projects.theforeman.org/issues/6435 from this bug

Comment 5 Bryan Kearney 2014-06-30 14:07:34 UTC
Upstream bug assigned to None

Comment 6 Bryan Kearney 2014-06-30 16:14:25 UTC
Upstream bug assigned to None

Comment 7 Bryan Kearney 2014-06-30 20:08:01 UTC
Upstream bug assigned to None

Comment 8 Bryan Kearney 2014-06-30 22:08:26 UTC
Upstream bug assigned to None

Comment 9 Bryan Kearney 2014-07-01 00:05:38 UTC
Upstream bug assigned to None

Comment 10 Bryan Kearney 2014-07-01 02:06:01 UTC
Upstream bug assigned to None

Comment 11 Bryan Kearney 2014-07-01 04:07:36 UTC
Upstream bug assigned to None

Comment 12 Bryan Kearney 2014-07-01 06:06:30 UTC
Upstream bug assigned to None

Comment 13 Bryan Kearney 2014-07-01 08:06:29 UTC
Upstream bug assigned to None

Comment 14 Bryan Kearney 2014-07-01 10:08:24 UTC
Upstream bug assigned to None

Comment 15 Stephen Benjamin 2014-07-03 17:06:40 UTC

*** This bug has been marked as a duplicate of bug 1112112 ***