Bug 1860131 - Activation page should prompt for organization selection in any context
Summary: Activation page should prompt for organization selection in any context
Keywords:
Status: CLOSED DUPLICATE of bug 1861970
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Organizations and Locations
Version: 6.8.0
Hardware: All
OS: All
unspecified
urgent
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Lucie Vrtelova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-23 18:26 UTC by Ranjan Kumar
Modified: 2020-08-03 13:09 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-03 13:09:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Activation key page screen (88.99 KB, image/png)
2020-07-23 18:29 UTC, Ranjan Kumar
no flags Details

Description Ranjan Kumar 2020-07-23 18:26:27 UTC
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

Comment 1 Ranjan Kumar 2020-07-23 18:29:32 UTC
Created attachment 1702263 [details]
Activation key page screen

Comment 3 Brad Buckingham 2020-08-03 13:09:56 UTC

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


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