Changes between Initial Version and Version 2 of Ticket #7021
- Timestamp:
- Apr 2, 2008, 1:20:27 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7021 – Description
initial v2 6 6 7 7 Now, I realize that the cause of this is the fact that my manually created database entry is incomplete, but it seems to me that the query code shouldn't just barf in that case. A reasonable solution in this case would seem to be to default the date to '0'. I've attached a patch for 0.10 and trunk that does that. 8 8 {{{ 9 9 Traceback (most recent call last): 10 10 File "/data0/sierra/trac/trac-0.10stable/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request … … 21 21 val = int(val) 22 22 TypeError: int() argument must be a string or a number, not 'NoneType' 23 23 }}}