Bug 1248808

Summary: widget code references widget names not found in .ui xml files
Product: Red Hat Enterprise Linux 7 Reporter: Adrian Likins <alikins>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED WORKSFORME QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: low    
Version: 7.2CC: bcourt, jhnidek, redakkan, wpoteat
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-06 15:52:57 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:

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