Bug 703920

Summary: dates do not appear in contract selection dialog
Product: Red Hat Enterprise Linux 5 Reporter: Chris Duryee <cduryee>
Component: subscription-managerAssignee: John Sefler <jsefler>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7CC: alikins
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 703921 (view as bug list) Environment:
Last Closed: 2011-07-21 08:46:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 675214, 703921    
Attachments:
Description Flags
no dates in dialog
none
the start and end dates are now displayed in the contract selection dialog none

Description Chris Duryee 2011-05-11 16:44:44 UTC
Created attachment 498338 [details]
no dates in dialog

Description of problem:

Dates do not appear in contract selection dialog in sm-gui (see screenshot). Additionally, this error is thrown to stdout:

/usr/share/rhsm/subscription_manager/gui/contract_selection.py:60: Warning: unable to set property `date' of type `PyObject' from value of type `gchararray'
  self.contract_selection_win.show_all()
/usr/sbin/subscription-manager-gui:121: Warning: unable to set property `date' of type `PyObject' from value of type `gchararray'
  sys.exit(gtk.main() or 0)


Version-Release number of selected component (if applicable): 0.95.5.13


How reproducible: every time


Steps to Reproduce:
1. go to all available subscriptions tab
2. subscribe to something
3. note the lack of dates in dialog
  
Actual results:

no start/end dates shown

Expected results:

start/end dates shown

Comment 1 Adrian Likins 2011-05-11 20:11:01 UTC
commit 116bafbbd68bc1d41b6b6dbcc2a17692adc2b3b8
Author: Adrian Likins <alikins>
Date:   Wed May 11 13:17:34 2011 -0400

    703920: contract selection was not showing dates for pools
    
    contract_selection dialog was expecting datetime objects
    that it was passing to a CellRendererDate, but was getting
    strings of is8601 dates instead, so convert those strings
    to datetime. Also, the model was expecting strings, change
    to gobject.TYPE_PYOBJECT

Comment 2 John Sefler 2011-05-13 17:23:50 UTC
Created attachment 498824 [details]
the start and end dates are now displayed in the contract selection dialog

Verifying Version...
[root@jsefler-onprem-5server ~]# rpm -qa | grep subscription-manager
subscription-manager-gnome-0.95.5.14-1.git.3.83b3a73.el5
subscription-manager-firstboot-0.95.5.14-1.git.3.83b3a73.el5
subscription-manager-0.95.5.14-1.git.3.83b3a73.el5

Comment 3 errata-xmlrpc 2011-07-21 08:46:39 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html

Comment 4 errata-xmlrpc 2011-07-21 12:30:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html