Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 862836 - Changesets: Need to disable +New Changeset button when switching contexts between promotion paths
Summary: Changesets: Need to disable +New Changeset button when switching contexts bet...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Partha Aji
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-03 17:36 UTC by Corey Welton
Modified: 2014-03-18 17:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-18 17:38:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (21.93 KB, image/png)
2012-10-03 17:38 UTC, Corey Welton
no flags Details

Description Corey Welton 2012-10-03 17:36:17 UTC
Description of problem:
This has been nagging me for a while but I finally figured it out.

When a user has multiple promotion paths and switches contexts on the Changesets page, s/he can still click the +New Changeset link while the page is going through a context reload. This can often result in the changeset getting created for the wrong path.

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


How reproducible:


Steps to Reproduce:

(note - this is somewhat timing related but it shouldn't be too hard, particularly if you've never visited this page before)

1.  Create a promotion path of Library > Dev > QE
2.  Create a separate promotion  path of Library > Hotfix
3.  Go to Changeset Management > Changesets
4.  Noting that Library > Hotfix is the default path, click the dropdown and choose Library in the "Library > Dev > QE" path
5.  Immediately afterwards, click +New Changeset and create a changeset called "to dev"; save
6. View results
  
Actual results:
The changeset gets saved in the first path
The UI shows one path at the top and a separate environment in the right pane UI (see forthcoming screenshot)

Expected results:
We shouldn't have situations where users can mistakenly create changesets for the wrong environment because the page hasn't loaded yet.  We should probably disable that link while context switching.


Additional info:
It "feels", anyway, like the likelihood of this happening lessens after the user has been on that page for a while, like element caching has made the page render faster and reduced the possibility. But this has happened to me a bunch of times when setting up a newly installed katello instance... it's pretty easy to run into.

Comment 1 Corey Welton 2012-10-03 17:38:57 UTC
Created attachment 621047 [details]
screenshot

note: the changeset created in this instance was different than the steps described in the bug

Comment 4 Mike McCune 2014-03-18 17:38:13 UTC
This bug was closed because of a lack of activity.  If you feel this bug should be reconsidered for attention please feel free to re-open the bug with a comment stating why it should be reconsidered.


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