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.
Bug 1248808 - widget code references widget names not found in .ui xml files
Summary: widget code references widget names not found in .ui xml files
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.2
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-30 21:35 UTC by Adrian Likins
Modified: 2020-04-06 15:52 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-06 15:52:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Adrian Likins 2015-07-30 21:35:54 UTC
Description of problem:
In widgets.py, in SubManBaseWidget, pull_widgets() elevates self.widget_names to attributes on the widget object, and points to the widget defined in the ui xml.

But some of the names referenced don't seem to exist. Likely widget names auto-named by glade that changed with the gtk3 port.

Some logging to track them:

widgets.py:161 - FIXME: /home/adrian/src/subscription-manager/src/subscription_manager/gui/data/ui/mainwindow.ui MainWindow system_name_label
widgets.py:161 - FIXME: /home/adrian/src/subscription-manager/src/subscription_manager/gui/data/ui/selectsla.ui SelectSLAScreen owner_treeview
widgets.py:161 - FIXME: /home/adrian/src/subscription-manager/src/subscription_manager/gui/data/ui/confirmsubs.ui ConfirmSubscriptionsScreen back_button
widgets.py:161 - FIXME: /home/adrian/src/subscription-manager/src/subscription_manager/gui/data/ui/allsubs.ui AllSubscriptionsTab top_view
widgets.py:161 - FIXME: /home/adrian/src/subscription-manager/src/subscription_manager/gui/data/ui/allsubs.ui AllSubscriptionsTab month_entry
widgets.py:161 - FIXME: /home/adrian/src/subscription-manager/src/subscription_manager/gui/data/ui/allsubs.ui AllSubscriptionsTab day_entry
widgets.py:161 - FIXME: /home/adrian/src/subscription-manager/src/subscription_manager/gui/data/ui/allsubs.ui AllSubscriptionsTab year_entry
widgets.py:161 - FIXME: /home/adrian/src/subscription-manager/src/subscription_manager/gui/data/ui/allsubs.ui AllSubscriptionsTab active_on_checkbutton
widgets.py:161 - FIXME: /home/adrian/src/subscription-manager/src/subscription_manager/gui/data/ui/selectsla.ui SelectSLAScreen owner_treeview
widgets.py:161 - FIXME: /home/adrian/src/subscription-manager/src/subscription_manager/gui/data/ui/confirmsubs.ui ConfirmSubscriptionsScreen back_button


Additional info:

Need to verify the right names, etc.

Comment 2 John Sefler 2015-09-25 16:30:54 UTC
deferring to rhel-7.3.0 due to schedule and severity

Comment 5 Jiri Hnidek 2017-06-12 09:36:04 UTC
It seems, this problem was solved over time. I can't see any similar error messages in console nor in rhsm.log. I searched for following widget ids in code and this is my findings:

system_name_label ... OK
owner_treeview ... does not exist anymore
back_button ... does not exist anymore
top_view ... OK
month_entry ... does not exist anymore
day_entry ... does not exist anymore
year_entry ... does not exist anymore
active_on_checkbutton ... does not exist anymore

Comment 6 Rehana 2020-04-06 15:52:57 UTC
closing this based on comment 5


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