#2979: unable to custom query
----------------------------------+-----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: 0.9.4
Severity: normal | Keywords:
----------------------------------+-----------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/trac/web/cgi_frontend.py",
line 130, in run
dispatch_request(req.path_info, req, env)
File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line
139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line
107, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.4/site-packages/trac/ticket/query.py", line
414, in process_request
self.display_html(req, query)
File "/usr/local/lib/python2.4/site-packages/trac/ticket/query.py", line
522, in display_html
tickets = query.execute(db)
File "/usr/local/lib/python2.4/site-packages/trac/ticket/query.py", line
157, in execute
val = int(val)
ValueError: invalid literal for int(): 15m
probably has somethign to do with my custom field.
time = select
time.label=Time
time.options=|15|30|45|60|75|90|1h45m|2h|2h15m|2h30m|3h
time.value=0
the options were 15m|30m|45m, etc but I changed them in hopes the error
would go away, but it hasn't.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2979>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets