Bug 982286 - Removing a subscription through GUI doesn't always show Confirmation string in dialog
Summary: Removing a subscription through GUI doesn't always show Confirmation string i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510
TreeView+ depends on / blocked
 
Reported: 2013-07-08 15:07 UTC by Matt Reid
Modified: 2013-09-30 23:12 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2013-09-30 23:12:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Remove subscription confirmation dialog, with no string (55.65 KB, image/png)
2013-07-08 15:08 UTC, Matt Reid
no flags Details
remove subscription with '&' (79.65 KB, image/png)
2013-08-07 17:11 UTC, Sharath Dwaral
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1332 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-09-30 22:49:24 UTC

Description Matt Reid 2013-07-08 15:07:11 UTC
Description of problem:
Not sure what to attribute this to, but currently I'm registered with Stage as user '2013sku', and have two subscriptions attached to my system, 'RHEL Server Premium (8 sockets) (up to 4 guests)' and 'RHEL Server Premium with Smart Management & Resilient Storage'.

Clicking remove from the My Subscriptions tab and trying to remove RHEL Server (8 sockets) works as expected, but trying to remove the one with Smart Management shows an empty confirmation dialog, with no string inside it, just the icon and the buttons.

Version-Release number of selected component (if applicable):
latest sub-man, built from git today after seeing it on whatever I had built last week

How reproducible:
I saw it on my system and Cory was able to reproduce

Steps to Reproduce:
1. register with stage as user 2013sku
2. attach the two subscriptions mentioned above, or at least RHEL w/ smart management
3. Try to remove RHEL w/ smart management

Actual results:
no confirmation string shows in the dialog

Expected results:
See the "Are you sure you wish to remove sub X?" string in the dialog

Additional info:
Stage has been wonky for me lately, with intermittent connectivity issues, but I don't think this string comes from the server, maybe it does though. Possible that stage is the culprit for this, I'm not sure if the smart management sku is in prod or not to see if its an environment or sku issue, or an issue with how the string is called or something.

Comment 1 Matt Reid 2013-07-08 15:08:00 UTC
Created attachment 770540 [details]
Remove subscription confirmation dialog, with no string

Comment 2 RHEL Program Management 2013-07-08 15:17:58 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 4 Cory Scheviak 2013-07-15 16:15:12 UTC
The issue that was occurring here resulted from an '&' character in the name of a subscription to be parsed as markup (eg: an html tag) instead of being parsed verbatim as a string name.

Fixed originally here:
09d9ee14fe9d19fb3b7a04ae73c9999805afb825 and afffee4006216add0566c93d8984ad61b4ec6cd3

Unfortunately, this was too broad of a location to tell the program to parse verbatim as a string, and it ended up getting rid of all parsing whatsover, causing bold text to be read as <b>text</b> instead of the word text in bold font.

Fixed this and finally solved issue here:
a8754eeb7529679113c0ed54cbd7c61d7b45df8b

Comment 5 Jesus M. Rodriguez 2013-07-18 19:49:28 UTC
Moving back to post commit a8754eeb7529679113c0ed54cbd7c61d7b45df8b didn't make the 1.8.13 tag. Will be in the next build.

Comment 8 Jesus M. Rodriguez 2013-08-06 14:46:44 UTC
*** Bug 986803 has been marked as a duplicate of this bug. ***

Comment 9 Sharath Dwaral 2013-08-07 17:11:02 UTC
Created attachment 783999 [details]
remove subscription with '&'

# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-gui-1.8.18-1.el5
subscription-manager-migration-data-1.11.3.2-1.git.0.14f9d59.el5
python-rhsm-1.8.16-1.el5
subscription-manager-migration-1.8.18-1.el5
subscription-manager-1.8.18-1.el5
subscription-manager-firstboot-1.8.18-1.el5
python-rhsm-debuginfo-1.8.16-1.el5
subscription-manager-debuginfo-1.8.18-1.el5

Removing subscription with '&' works fine (see attachment)

VERIFIED

Comment 12 errata-xmlrpc 2013-09-30 23:12:50 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-1332.html


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