Modify

Opened 7 years ago

Closed 4 years ago

Last modified 4 years ago

#12074 closed defect (worksforme)

create() gives column name is not unique after upgrading to trac 1.0.2

Reported by: sivann@… Owned by: osimons
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Olemis Lang Trac Release:

Description (last modified by Ryan J Ollos)

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 7 years ago by anonymous

Also tried xmlrpcplugin is from trunk, no difference.

comment:2 Changed 7 years ago by Ryan J Ollos

Which trac:DatabaseBackend are you using? Have you confirmed that the milestone name doesn't already exist?

Last edited 7 years ago by Ryan J Ollos (previous) (diff)

comment:3 Changed 7 years ago by osimons

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 7 years ago by anonymous

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 7 years ago by Ryan J Ollos

Similar to trac:#11419, it could be nice to raise a more user-friendly exception message for this scenario.

comment:6 Changed 4 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

We should get a better error message with Trac 1.3.2+ now that ​trac:#11419, is implemented.

comment:7 Changed 4 years ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.