Bug 1458477

Summary: webUI doesn't allow to update CDN url and firebug raises TypeError: e.refreshTable is not a function
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: Subscription ManagementAssignee: Walden Raines <walden>
Status: CLOSED ERRATA QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3.0CC: bbuckingham, ehelms, jcallaha, sgraessl, walden
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/20095
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.4.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:54:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
UI doesn't update the CDN url
none
Updated CDN URL during QA Verification none

Description Sachin Ghai 2017-06-03 06:45:40 UTC
Created attachment 1284590 [details]
UI doesn't update the CDN url

Description of problem:
Install sat6.3 snap1 and try to update the CDN URL from "Red Hat Sunscriptions" and on clicking "save" success notification raised "Repository URL updated". However repo URL doesn't actually updates.

Firebug raises error:
bastion-e809058….js:2 TypeError: e.refreshTable is not a function
    at bastion_katello-0729c94….js:2
    at bastion-e809058….js:6
    at o (bastion-e809058….js:3)
    at bastion-e809058….js:3

Version-Release number of selected component (if applicable):
sat6.3 beta snap1
satellite-6.3.0-15.0.beta.el7sat.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Sachin Ghai 2017-06-03 07:23:12 UTC
OK, if you navigate to other page and come back on same Red Hat Subscriptions" page, URL got changed.

Comment 3 Brad Buckingham 2017-06-06 17:08:46 UTC
Walden, does this look like it may be related to recent changes in upstream for bastion?

Comment 4 Walden Raines 2017-06-07 06:57:27 UTC
(In reply to Brad Buckingham from comment #3)
> Walden, does this look like it may be related to recent changes in upstream
> for bastion?

Yeah, this seems related to the changes that moved away from nutupane.  Looks like I forgot to remove a few occurrences of refreshTable().  

I will take a look at this, thank you for bringing it to my attention.

Comment 5 Walden Raines 2017-06-23 14:26:25 UTC
Created redmine issue http://projects.theforeman.org/issues/20095 from this bug

Comment 6 Walden Raines 2017-06-23 14:56:03 UTC
PR: https://github.com/Katello/katello/pull/6836

Comment 7 Satellite Program 2017-06-30 20:12:26 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20095 has been resolved.

Comment 8 Satellite Program 2017-08-03 22:14:37 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20095 has been resolved.

Comment 9 Samir Jha 2017-08-09 18:58:12 UTC
Verified on 6.3 box: https://tyan-gt24-13.rhts.eng.bos.redhat.com

Steps: 
1. Log in as admin
2. Navigate to Content > Red Hat Subscriptions> Manage Manifest
3. Under Red Hat Provider Details > Update the Red Hat CDN URL.

Expected: 
The URL should get updated.

Actual:
The URL gets updated and there were no console errors as had been reported in the bug description.

Comment 10 Samir Jha 2017-08-09 18:59:55 UTC
Created attachment 1311356 [details]
Updated CDN URL during QA Verification

Updated CDN URL during QA Verification

Comment 12 Satellite Program 2018-02-21 16:54:17 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336