Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1111135 - 404 bad request under "content host --> Bulk actions --> errata" when no host was selected
Summary: 404 bad request under "content host --> Bulk actions --> errata" when no host...
Keywords:
Status: CLOSED DUPLICATE of bug 1109085
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-19 10:35 UTC by Sachin Ghai
Modified: 2014-07-08 14:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-01 16:20:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
404 bad request in firebug (63.36 KB, image/png)
2014-06-19 10:35 UTC, Sachin Ghai
no flags Details
Logs from production.log (11.88 KB, text/x-log)
2014-06-19 10:37 UTC, Sachin Ghai
no flags Details

Description Sachin Ghai 2014-06-19 10:35:00 UTC
Created attachment 910341 [details]
404 bad request in firebug

Description of problem:
On navigating  "content host --> Bulk actions --> errata" when no content-host is selected, UI throws 404 bad request in firebug and long exception in production.log


Processing by Katello::Api::V2::SystemsBulkActionsController#applicable_errata as JSON
  Parameters: {"included"=>{"ids"=>[], "resources"=>[], "search"=>nil}, "excluded"=>{"ids"=>[]}, "organization_id"=>"1", "page"=>1, "search"=>"", "api_version"=>"v2", "systems_bulk_action"=>{"included"=>{"ids"=>[], "resources"=>[], "search"=>nil}, "excluded"=>{"ids"=>[]}, "organization_id"=>"1", "page"=>1, "search"=>""}}
Katello::HttpErrors::BadRequest: No systems have been specified.
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb:205:in `find_systems'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb:176:in `find_readable_systems'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:553:in `block (3 levels) in _run__3127528247141783304__process_action__3288835567691305841__callbacks'


Version-Release number of selected component (if applicable):
sat6 beta snap10 (Satellite-6.0.3-RHEL-6-20140618.0)


How reproducible:
always

Steps to Reproduce:
1. "content host --> Bulk actions --> errata" 
2.
3.

Actual results:
Processing by Katello::Api::V2::SystemsBulkActionsController#applicable_errata as JSON
  Parameters: {"included"=>{"ids"=>[], "resources"=>[], "search"=>nil}, "excluded"=>{"ids"=>[]}, "organization_id"=>"1", "page"=>1, "search"=>"", "api_version"=>"v2", "systems_bulk_action"=>{"included"=>{"ids"=>[], "resources"=>[], "search"=>nil}, "excluded"=>{"ids"=>[]}, "organization_id"=>"1", "page"=>1, "search"=>""}}
Katello::HttpErrors::BadRequest: No systems have been specified.

404 Bad request in firebug

Expected results:


Additional info:

Comment 2 Sachin Ghai 2014-06-19 10:37:32 UTC
Created attachment 910343 [details]
Logs from production.log

Comment 3 Brad Buckingham 2014-07-01 16:20:58 UTC

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


Note You need to log in before you can comment on or make changes to this bug.