#12074 closed defect (worksforme)
create() gives column name is not unique after upgrading to trac 1.0.2
Reported by: | Owned by: | osimons | |
---|---|---|---|
Priority: | normal | Component: | XmlRpcPlugin |
Severity: | normal | Keywords: | |
Cc: | Olemis Lang | Trac Release: |
Description (last modified by )
Fault: <Fault 1: "'column name is not unique' while executing 'ticket.milestone.create()'">
Any hint on how to debug further?
srv_target = xmlrpclib.ServerProxy("https://%s:%s@%s/%s/login/xmlrpc" % ( user, pswd, base, target)) srv_target.ticket.milestone.create(summary, {})
Attachments (0)
Change History (7)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Which trac:DatabaseBackend are you using? Have you confirmed that the milestone name doesn't already exist?
comment:3 Changed 10 years ago by
Turn on debug logging on the server (see TracLogging).
Also, a list of other installed plugins is very useful ('About Trac' as TRAC_ADMIN
).
comment:4 Changed 10 years ago by
Sorry guys about this, and thank you for the quick response!. It seems the milestone ticket already exists, I never thought of that for some reason. BTW I'm using sqlite. Thank you for the help, you may close the ticket.
comment:5 Changed 10 years ago by
Similar to trac:#11419, it could be nice to raise a more user-friendly exception message for this scenario.
comment:6 Changed 7 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
We should get a better error message with Trac 1.3.2+ now that trac:#11419, is implemented.
comment:7 Changed 7 years ago by
Description: | modified (diff) |
---|
Also tried xmlrpcplugin is from trunk, no difference.