Hide Forgot
Description of problem: The dynamically created fields in subscription manager need some tweaks to the at-spi locators. Version-Release number of selected component (if applicable): subscription-manager-gnome-0.99.9-1.git.12.2fc01bb.el6.x86_64 How reproducible: always Actual results: The 'bundled products' table in the subscription details under 'all available subcriptions' needs a unique name in order to access it's members (see attachment). Two more items to come in the following comments (one attachment limit)...
Created attachment 570015 [details] bundled products table
Created attachment 570016 [details] my subscription details The text fields in the subscription details under 'my subscriptions" all need to be named '<name>-Text'. They all follow this rule except for: End Date Start Date Stacking ID (currently has no name) Bundled Products table (currently has no name)
Created attachment 570017 [details] product details The following text fields need to be renamed under the "Product's Subscription Details" under the "My Installed Software" tab: Subscription Certificate Status Product These should generally follow the <name>-Text naming scheme that everything else has been using.
To only further complicate the matter, all names must be unique between the three tabs. Since these are simply panes with data in them and not tables, all these text fields have the same parent window: "Subscription Manager". When you call for the text fields it will search all three tabs and simply return whichever it finds first (usually by render order). Currently these fields do not have unique names: - The bundled products tables (currently unnamed - found in 'All Available Subscriptions and My Subscriptions) - Subscription Text (found in all three tabs) - Service Level Text (All Available Subscriptions, My Subscriptions) - Service Type Text (All Available Subscriptions, My Subscriptions)
Committed 495d07cf0352ab38a31c691782f89e8743a76026 Available in subscription-manager-0.99.11+
Created attachment 571773 [details] bundled prods fixed tested in: subscription-manager-gnome-0.99.10-1.git.85.057ca98.el6.x86_64 comment 0 appears fixed; the table is now called "Bundled Products Table" and works via the api: user> (tasks/ui getcellvalue "Subscription Manager" "Bundled Products Table" 0 0) "Awesome OS Server Bits" ^^ taken at state of the screenshot
Created attachment 571774 [details] my subs mostly fixed subscription-manager-gnome-0.99.10-1.git.85.057ca98.el6.x86_64 Stacking ID Text, Start Date Text, and End Date Text all have names and are usable: user> (tasks/ui gettextvalue "Subscription Manager" "Stacking ID Text") "1" user> (tasks/ui gettextvalue "Subscription Manager" "Start Date Text") "03/20/2012" user> (tasks/ui gettextvalue "Subscription Manager" "End Date Text") "03/20/2013" ----- ^^ This portion of the bug ( comment 2 ) is verified ^^ --------- The Bundled products table now has a name, but it is the same name as the other Bundled products table and its currently unusable. It needs a different name.
Created attachment 571779 [details] my installed mostly fixed subscription-manager-gnome-0.99.10-1.git.85.057ca98.el6.x86_64 "Certificate Status Text" and "Product Text" have working names now and are usable: user> (tasks/ui gettextvalue "Subscription Manager" "Certificate Status Text") "Covered by contract(s) 66 through 03/20/2013" user> (tasks/ui gettextvalue "Subscription Manager" "Product Text") "Awesome OS for x86_64 Bits" --- ^^ Verified for comment 3 ^^ --- "Subscription Text" has the same at-spi locator as "Subscription Text" from the other tabs and is not reliably readable.
None of the items in comment 4 have been fixed, they still all share the same names and cannot be reliably accessed in automation. Note that only the at-spi locator of the text field needs to be unique and not the actual field name. Marking FailedQA
Committed 2e114f3b5b922fd14d642d9866e3db899c4a5148 Available subscription-manager-0.99.12+
The issue was brought up in sprint review 39 that the SLA subscribe button should be renamed entirely ('Autosubscribe' was suggested). If/when that gets changed, the 'All Available Subscribe' locator should be changed back to 'Subscribe'. I'm marking this as FailedQA until the final word on that is given.
Do we have approval to change the name of the SLA subscribe button?
Sefler would like to see it. So lets try it.
Committed 248a23ca172d3998f94b807a3552ff05ebd71c94 Available in subscription-manager-0.99.13+
*** Bug 805594 has been marked as a duplicate of this bug. ***
testing in: subscription-manager-gnome-1.0.0-1.git.11.f42a186.el6.x86_64 All of the dynamic text fields seem to follow the right schema and have unique names. Additionally the auto-subscribe button and subscribe button are different and work as expected. Marking VERIFIED.
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-2012-0804.html