Opened 18 years ago
Closed 18 years ago
#6172 closed defect (worksforme)
Adding a milestone on the demo results in python error messages
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.4 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Just go to the live demo and try to add a milestone
TracGuide — The Trac User and Administration Guide Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4429-py2.4.egg/webadmin/web_ui.py", line 109, in process_request
path_info)
File "/usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4429-py2.4.egg/webadmin/ticket.py", line 163, in process_admin_request
mil.due = util.parse_date(req.args.get('duedate'))
File "/usr/lib/python2.4/site-packages/trac/util/datefmt.py", line 114, in parse_date
raise ValueError, '%s is not a known date format.' % text
ValueError: 10/22/2007 is not a known date format.
Attachments (0)
Change History (6)
comment:1 by , 18 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
| Version: | → 0.10.4 |
follow-up: 4 comment:2 by , 18 years ago
| Resolution: | worksforme |
|---|---|
| Status: | closed → reopened |
Did you try the date I tried? Seems pretty clear from the error message that it choked on the date.
comment:3 by , 18 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | reopened → closed |
Never mind, I did specify a 4 digit date. Though in principal I don't that a python error anytime gives the incorrect date format is a very user friendly way of handling form input.
comment:4 by , 18 years ago
Replying to richard.rowell@gmail.com:
Did you try the date I tried? Seems pretty clear from the error message that it choked on the date.
Yes and it failed as expected, since you did not use a valid format for the date - that's the point I was trying to explain in my previous comment.
follow-up: 6 comment:5 by , 18 years ago
| Resolution: | worksforme |
|---|---|
| Status: | closed → reopened |
Sorry to reopen this, but I am wondering if it is the same problem as #6443?
comment:6 by , 18 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | reopened → closed |



Look at the Format hint right against the date field:
not