Bug 768388 - Perpetual spinner cursor upon changing a user's org.
Summary: Perpetual spinner cursor upon changing a user's org.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-12-16 14:33 UTC by Corey Welton
Modified: 2019-09-26 13:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:15:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Corey Welton 2011-12-16 14:33:33 UTC
Description of problem:

I suspect this might have something to do with the fix that went in for bug #760635

Upon trying to change the New Default Organization for a user, the cursor sits in the wait state and the user is given no indication that the process actually took place (though eventually navigating away and returning to the user view seems to show it took place)

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


How reproducible:


Steps to Reproduce:
1. Create a new user, "fibble"; do NOT grant a default org
2. Navigate to user view for "fibble"; go to Environments subtab
3. Change "New Default Organization" to "ACME_Corporation"; save
  
Actual results:
* cursor continues to spin in perpetuity.
* no indication that the process actually took place.

Expected results:
* Upon save, user should get notification and we should exit view cleanly.

Additional info:

Comment 1 Corey Welton 2011-12-16 14:34:32 UTC
Actually, I might be wrong - it looks like the environment change doesn't (always?) even get changed.

Comment 2 Corey Welton 2011-12-16 14:37:20 UTC
s/environment change/organization change/

Comment 3 Jason E. Rist 2011-12-16 22:22:28 UTC
I cant' even get to the save in step 3.

env is not defined
http://localhost:3000/katello/javascripts/user.js?1323979759
Line 66

Will investigate.

Comment 4 Mike McCune 2011-12-19 05:30:31 UTC
leaving in jrist's queue

Comment 5 Tom McKay 2011-12-19 17:19:17 UTC
commit 60df2da106431d53ebf776e3fc5f2fc7d3d0ff51
Author: Tom McKay <thomasmckay>
Date:   Mon Dec 19 12:16:08 2011 -0500

    Bug 768388 - Perpetual spinner cursor upon changing a user's org.
    https://bugzilla.redhat.com/show_bug.cgi?id=768388
    + Incorrectly loading env_select.js twice which was causing javascript errors
      and these resulted in spinner not clearing

Comment 6 Sachin Ghai 2011-12-22 08:19:06 UTC
verified with following katello build:

[root@dhcp201-162 ~]# rpm -qa | grep katello
katello-0.1.154-1.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-cli-common-0.1.30-1.el6.noarch
katello-glue-pulp-0.1.154-1.el6.noarch
katello-configure-0.1.46-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-glue-candlepin-0.1.154-1.el6.noarch
katello-all-0.1.154-1.el6.noarch
katello-repos-0.1.4-1.el6.noarch
katello-cli-0.1.30-1.el6.noarch
katello-glue-foreman-0.1.154-1.el6.noarch
katello-common-0.1.154-1.el6.noarch
katello-certs-tools-1.0.1-1.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
[root@dhcp201-162 ~]# rpm -qa | grep katello-cli
katello-cli-common-0.1.30-1.el6.noarch
katello-cli-0.1.30-1.el6.noarch
[root@dhcp201-162 ~]# 


I created a user keeping the option "No  default organization" and then
modified the "No default organization"  to 'ACME_Corporation".

The organization changed with the notification:

User environment updated successfully.


Since the reported issue is no longer reproducible with newly installed build so moving this to verified.


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