Opened 17 years ago
Closed 17 years ago
#6855 closed defect (duplicate)
IntegrityError on milestone creation
Reported by: | thuyduongnsx | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | general | Version: | 0.10.4 |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
When I type text
text
and after that text
and
I get the error below
Python Traceback Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 406, 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/sqlite/main.py", line 255, in execute self.rs = self.con.db.execute(SQL % parms) IntegrityError: column name is not unique
Attachments (0)
Change History (5)
comment:1 by , 17 years ago
Description: | modified (diff) |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Summary: | Trac detected an internal error → IntegrityError on milestone creation |
comment:2 by , 17 years ago
Priority: | normal → high |
---|---|
Resolution: | duplicate |
Status: | closed → reopened |
I read #3652 but I didn't try to create any milestone with the same name as an existing one.
"If you try to create a new milestone with the same name as an existing one, you get a python error message and traceback. This should be handled gracefully with an instruction to the user about choosing another name."
And after that I don't make any thing special such as new line or bold text, italic text. Simply I type some text, but I always get this error, and can't add any milestone
Please help me! Thanks very much!
comment:3 by , 17 years ago
I had to infer milestone creation by looking at the traceback, you didn't actually give me anything to go on. Describe your error completely, please. What milestones do you have currently? What is the name of the new milestone you are creating? Can you attach a screenshot of how you're filling in the fields, if nothing else?
comment:4 by , 17 years ago
Keywords: | needinfo added |
---|
comment:5 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Duplicate of #6808.
(also inferring from the description, I guess he must have missed the milestone name part, and has tried to create more than one unnamed milestone…)
This is a duplicate of #3652