Opened 9 years ago

Closed 6 years ago

#5920 closed defect (worksforme)

Can't create new tickets with Eclipse

Reported by: anonymous Owned by: jeangui
Priority: normal Component: DefaultCcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

This plugin do not work together with the latest XMLRPC update and Eclipse/Mylyn. If i create a new ticket i get always the following error:

2009-10-05 12:46:34,194 Trac[web_ui] ERROR: columns ticket, time, field are not unique
2009-10-05 12:46:34,210 Trac[web_ui] ERROR: Traceback (most recent call last):
  File "build\bdist.win32\egg\tracrpc\", line 173, in process_xml_request
    result = XMLRPCSystem(self.env).get_method(method)(req, args)
  File "build\bdist.win32\egg\tracrpc\", line 94, in __call__
    result = self.callable(req, *args)
  File "build\bdist.win32\egg\tracrpc\", line 149, in create
  File "build\bdist.win32\egg\defaultcc\", line 43, in ticket_created
    ticket.save_changes('DefaultCC Plugin', '')
  File "C:\Python25\lib\site-packages\trac\ticket\", line 265, in save_changes
  File "C:\Python25\lib\site-packages\trac\db\", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "C:\Python25\lib\site-packages\trac\db\", line 58, in execute
    args or [])
  File "C:\Python25\lib\site-packages\trac\db\", line 50, in _rollback_on_error
    return function(self, *args, **kwargs)
IntegrityError: columns ticket, time, field are not unique

The problem is gone after i disabled the plugin.

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by anonymous

I created the ticket with the Mylyn GUI within Eclipse.

comment:2 Changed 6 years ago by Ryan J Ollos

Description: modified (diff)

comment:3 Changed 6 years ago by anonymous

Resolution: worksforme
Status: newclosed

I can't reproduce with either the 0.1 version (r5293) or the latest trunk r11750. If there was an issue that takes some special conditions to reproduce, it may have been fixed in #4919 anyway.

Please reopen if you wish to continue debugging the issue.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain jeangui.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.