Bug #15083
closedPage does not load while accessing Content -> Puppet Modules in Any Context
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1335856
Description of problem:
While accessing Content -> Puppet Modules page in Satellite v 6.2Beta keeps loading.
Error message in the production.log:
2016-05-13 17:23:57 [app] [E] Katello::HttpErrors::NotFound: Couldn't find organization '' | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/controllers/katello/api/v2/api_controller.rb:123:in `find_optional_organization' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:424:in `block in make_lambda' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:143:in `call' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:143:in `block in halting_and_conditional' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
Version-Release number of selected component (if applicable):
Satellite v 6.2 public Beta
How reproducible:
Always
Steps to Reproduce:
1. Switch to "Any Context"
2. Navigate to "Content" -> "Puppet Modules"
Actual results:
ISE
Expected results:
It should redirect to a page to select Organization:
https://satellite.example.com/select_organization?toState=%2Fpuppet_modules
Example: When we access Content -> Red Hat Subscriptions page in Any Context it is redirected to the select organization page.
Additional info: