Bug 1463389 - sat6 save button broken after changing rhsm details to sat6 setup
Summary: sat6 save button broken after changing rhsm details to sat6 setup
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.9.0
Assignee: Harpreet Kataria
QA Contact: luke couzens
URL:
Whiteboard: webui
Depends On:
Blocks: 1482667
TreeView+ depends on / blocked
 
Reported: 2017-06-20 18:17 UTC by luke couzens
Modified: 2018-03-06 14:34 UTC (History)
8 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1482667 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:34:40 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description luke couzens 2017-06-20 18:17:33 UTC
Description of problem:sat6 save button broken after changing rhsm details to sat6 setup


Version-Release number of selected component (if applicable):5.8.0.17


How reproducible:100%


Steps to Reproduce:
1.provision appliance
2.nav to configuration-settings-region-Red Hat Updates
3.edit registration
4.add details for rhsm
5.validate + save
6.edit registration again
7.change details to sat6 configuration
8.click save

Actual results:Nothing happens, No error message


Expected results:Save completes or Validation required error message.


Additional info:
Also if you try to change 'register to' back to RHSM you get 'Error requesting data from server'

Comment 4 CFME Bot 2017-08-16 16:03:34 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/1f06bb7cb481bc884262a73610b4606ee5a94a6e

commit 1f06bb7cb481bc884262a73610b4606ee5a94a6e
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Jul 28 11:43:47 2017 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Aug 9 06:39:22 2017 -0400

    Fixed save of RH satellite 6 subscription
    
    Changed code to force user to validate credentials if user has selected to Register to Satellite 6, @edit[:organizations] gets set only when validate button is pressed, @edit[:organizations] is required to be set for satellite 6 to save registration_organization_display_name for MiqDatabase record.
    Added a note under "Validate" button to force user to validate when selecting Satellite 6 in the drop down and disabled "Save" button if validation is not done yet.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1463389

 app/controllers/ops_controller/settings/common.rb | 1 +
 app/controllers/ops_controller/settings/rhn.rb    | 8 ++++++++
 app/views/layouts/_auth_credentials2.html.haml    | 4 ++++
 app/views/ops/_settings_rhn_edit_tab.html.haml    | 1 +
 4 files changed, 14 insertions(+)

Comment 6 luke couzens 2017-10-11 11:20:24 UTC
Verified in 5.9.0.1


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