Bug 837106

Summary: Need to change at-spi locator for register button
Product: Red Hat Enterprise Linux 5 Reporter: J.C. Molet <jmolet>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: J.C. Molet <jmolet>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.9CC: bkearney
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-08 03:56:14 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:
Bug Depends On:    
Bug Blocks: 771748    
Attachments:
Description Flags
register button
none
register system none

Description J.C. Molet 2012-07-02 19:54:40 UTC
Created attachment 595801 [details]
register button

Description of problem:
Can we change the at-spi locator name for the register button next to the certificate status?  Its current name "Register" confuses it with the system menu register entry.  Because they share the same name, gnome and the at-spi libraries will randomly pick whatever object it happens to get first making the locator for this completely unreliable (and breaks automation).

Version-Release number of selected component (if applicable):
subscription-manager-gui-1.0.7-1.git.10.4c364f3.el5

How to reproduce:
 - Look at subscription-manager-gui with sniff/dogtail
 - Try to call the register button with an at-spi library across restarts of subscription-manager-gui

Actual results:
The "Register" locator randomly points to the menu item or the actual button.

Expected results:
- The menu item would remain unchanged.
- The Register button next to the Certificate status could have the locator "Register System" (as it did before).

Comment 1 RHEL Program Management 2012-07-02 20:07:18 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 2 James Bowes 2012-07-05 13:20:48 UTC
Pushed to master, 404dcd

Comment 5 J.C. Molet 2012-08-24 15:58:11 UTC
Created attachment 606906 [details]
register system

Testing with the latest in brew:
subscription-manager-gui-1.0.14-1.el5


The button has been renamed 'Register System' and all is well again with automation.

Marking VERIFIED.

Comment 7 errata-xmlrpc 2013-01-08 03:56:14 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.

http://rhn.redhat.com/errata/RHBA-2013-0033.html