Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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.
Description of problem: When typing a left parenthesis in the filter text field in the filter dialog, subscription-manager-gui produces a traceback.
Version-Release number of selected component (if applicable): subscription-manager-1.1.2-1
How reproducible: Always
Steps to Reproduce:
1. Register with subscription-manager-gui
2. Go to the All Available Subscriptions tab
3. Click Update
4. Click on the Filters button
5. Enter a '(' in the "Contain the text" field
Actual results:
Traceback (most recent call last):
File "/root/devel/subscription-manager/src/subscription_manager/gui/filter.py", line 94, in update_filters
self.parent.display_pools()
File "/root/devel/subscription-manager/src/subscription_manager/gui/allsubs.py", line 241, in display_pools
self.get_filter_text()),
File "/root/devel/subscription-manager/src/subscription_manager/gui/utils.py", line 133, in apply_highlight
regex = re.compile("(" + highlight + ")", re.I)
File "/usr/lib64/python2.6/re.py", line 190, in compile
return _compile(pattern, flags)
File "/usr/lib64/python2.6/re.py", line 245, in _compile
raise error, v # invalid expression
sre_constants.error: unbalanced parenthesis
Expected results:
The subscriptions window should highlight any subscriptions with a parenthesis in the name.
commit 676d3457fac7c700e168a4948346b65e19297ff9
Author: Alex Wood <awood>
Date: Thu Sep 27 13:55:02 2012 -0400
861170: re.escape() values provided to the apply_hightlight() function.
Available in subscription-manager-1.1.2-1+
Created attachment 639789[details]
No traceback for left paranthesis
Verified!!
[root@rhel-64-server ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.7.18-1
subscription-manager: 1.1.5-1.el6
python-rhsm: 1.1.4-1.el6
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-0350.html
Description of problem: When typing a left parenthesis in the filter text field in the filter dialog, subscription-manager-gui produces a traceback. Version-Release number of selected component (if applicable): subscription-manager-1.1.2-1 How reproducible: Always Steps to Reproduce: 1. Register with subscription-manager-gui 2. Go to the All Available Subscriptions tab 3. Click Update 4. Click on the Filters button 5. Enter a '(' in the "Contain the text" field Actual results: Traceback (most recent call last): File "/root/devel/subscription-manager/src/subscription_manager/gui/filter.py", line 94, in update_filters self.parent.display_pools() File "/root/devel/subscription-manager/src/subscription_manager/gui/allsubs.py", line 241, in display_pools self.get_filter_text()), File "/root/devel/subscription-manager/src/subscription_manager/gui/utils.py", line 133, in apply_highlight regex = re.compile("(" + highlight + ")", re.I) File "/usr/lib64/python2.6/re.py", line 190, in compile return _compile(pattern, flags) File "/usr/lib64/python2.6/re.py", line 245, in _compile raise error, v # invalid expression sre_constants.error: unbalanced parenthesis Expected results: The subscriptions window should highlight any subscriptions with a parenthesis in the name.