Modify ↓
#1667 closed defect (worksforme)
Trac milestone routines break on '-' in a milestone name
Reported by: | anonymous | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | roadmap | Version: | 0.8.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Hi,
I input the following into a milestone title entry box:
release 0.3 - "sins of youth"
And now I get a nice big error screen if I try to view my 'Roadmap'.
Here's the python traceback:
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/ModPythonHandler.py", line 194, in handler core.dispatch_request(mpr.path_info, args, mpr, env) File "/usr/lib/python2.4/site-packages/trac/core.py", line 435, in dispatch_request module.run() File "/usr/lib/python2.4/site-packages/trac/Module.py", line 44, in run self.render() File "/usr/lib/python2.4/site-packages/trac/Roadmap.py", line 94, in render 'owner') File "/usr/lib/python2.4/site-packages/trac/Milestone.py", line 44, in get_tickets_for_milestone cursor.execute(sql) File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 244, in execute self.rs = self.con.db.execute(SQL) DatabaseError: near "sins": syntax error
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 19 years ago
Description: | modified (diff) |
---|---|
Summary: | Trac milestone routines brake on '-' in a milestone name → Trac milestone routines break on '-' in a milestone name |
cleaning up summary and description
Note:
See TracTickets
for help on using tickets.
Seems ok now.