Modify ↓
Opened 17 years ago
Closed 17 years ago
#6782 closed defect (duplicate)
Crash when entering invalid version year.
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/web | Version: | 0.10-stable |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I made the mistake of entering a date of 03/06/2008. It's easy to reproduce and It should be easy to solve - I'm still running a hosted version, so I can't develop a patch.
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 243, in process_admin_request ver.time = util.parse_date(req.args.get('time')) 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: 03/06/2008 is not a known date format.
BTW - You have built a great system, thanks. I've been in development organization for over 15 years and I was always looking for better IT for my team - TRAC does it well! Keep it up
Attachments (0)
Change History (1)
comment:1 by , 17 years ago
Component: | trac-admin → webadmin |
---|---|
Priority: | high → normal |
Resolution: | → duplicate |
Status: | new → closed |
Version: | devel → 0.10-stable |
Note:
See TracTickets
for help on using tickets.
You say you use the current development version (0.11), but from the traceback it looks like you are using Trac 0.10.x with WebAdmin plugin.
This has been improved in upcoming 0.11, that now gives a regular error message:
Closing as duplicate of #4927.