Bug 703920 - dates do not appear in contract selection dialog
Summary: dates do not appear in contract selection dialog
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: John Sefler
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 675214 703921
TreeView+ depends on / blocked
 
Reported: 2011-05-11 16:44 UTC by Chris Duryee
Modified: 2011-07-21 12:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 703921 (view as bug list)
Environment:
Last Closed: 2011-07-21 08:46:39 UTC
Target Upstream Version:


Attachments (Terms of Use)
no dates in dialog (29.71 KB, image/png)
2011-05-11 16:44 UTC, Chris Duryee
no flags Details
the start and end dates are now displayed in the contract selection dialog (28.59 KB, image/png)
2011-05-13 17:23 UTC, John Sefler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1078 0 normal SHIPPED_LIVE new package: subscription-manager 2011-07-21 08:45:07 UTC

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


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