Comment 3 for bug 397294

Revision history for this message
Parthiv Patel (parthiv-patel-deactivatedaccount) wrote :

Even with python2.5 date is compared with False and causes the following error !

[2009-08-20 13:08:43,433] ERROR:web-services:[45]: File "/home/abc/abc/server/bin/osv/orm.py", line 2584, in create
[2009-08-20 13:08:43,434] ERROR:web-services:[46]: upd2.append(self._columns[field]._symbol_set[1](vals[field]))
[2009-08-20 13:08:43,434] ERROR:web-services:[47]: File "/home/abc/abc/server/bin/osv/fields.py", line 46, in _symbol_set
[2009-08-20 13:08:43,434] ERROR:web-services:[48]: if symb == None or symb == False:
[2009-08-20 13:08:43,434] ERROR:web-services:[49]: Error: cannot convert value to a time value

value of symb is <mx.DateTime.DateTime object for '2038-01-20 00:00:00.00' at 8719090>