Modify ↓
Opened 19 years ago
Closed 19 years ago
#4849 closed defect (duplicate)
Creating a new Milestone
| Reported by: | anonymous | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | general | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Hi,
Getting an error when trying to create a new Milestone-
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/ticket/roadmap.py", line 359, in process_request
self._do_save(req, db, milestone)
File "/usr/lib/python2.3/site-packages/trac/ticket/roadmap.py", line 430, in _do_save
milestone.insert()
File "/usr/lib/python2.3/site-packages/trac/ticket/model.py", line 616, in insert
(self.name, self.due, self.completed, self.description))
File "/usr/lib/python2.3/site-packages/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "/usr/lib/python2.3/site-packages/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
IntegrityError: duplicate key violates unique constraint "milestone_pkey"
Please advise!
Attachments (0)
Change History (1)
comment:1 by , 19 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → duplicate |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Well, that milestone already existed… but yes, there shouldn't be an internal error in this case.
This was already reported as #3652.