Description of problem: Activation page should not be loaded in any context. Organization selection page should be come up when any organization and any location is selected Production log: 2020-07-23T23:38:38 [I|app|26a2d0e4] Started GET "/katello/api/v2/activation_keys?organization_id=&page=1&paged=true&per_page=20&search=&sort_by=name&sort_order=ASC" for 127.0.0.1 at 2020-07-23 23:38:38 +0530 2020-07-23T23:38:38 [I|app|26a2d0e4] Processing by Katello::Api::V2::ActivationKeysController#index as HTML 2020-07-23T23:38:38 [I|app|26a2d0e4] Parameters: {"organization_id"=>"", "page"=>"1", "paged"=>"true", "per_page"=>"20", "search"=>"", "sort_by"=>"name", "sort_order"=>"ASC", "api_version"=>"v2"} 2020-07-23T23:38:38 [E|app|26a2d0e4] Katello::HttpErrors::NotFound: Couldn't find organization '' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.rc4.1/app/controllers/katello/api/v2/api_controller.rb:161:in `find_optional_organization' Version-Release number of selected component (if applicable): Satellite 6.8 How reproducible: Always Steps to Reproduce: 1. set any organisation and any location on top 2. Go to Content -> Activation key Actual results: Activation page get loaded Expected results: Organization selection should come up Additional info: # rpm -qa satellite satellite-6.8.0-0.7.beta.el7sat.noarch # rpm -qa katello katello-3.16.0-0.4.rc4.el7sat.noarch # rpm -qa foreman foreman-2.1.0.1-1.el7sat.noarch
Created attachment 1702263 [details] Activation key page screen
*** This bug has been marked as a duplicate of bug 1861970 ***