Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#9660 closed defect (fixed)

This plugin crashes XML-RPC

Reported by: anonymous Owned by: bobbysmith007
Priority: normal Component: OverrideEditPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Error when trying to update a ticket using Eclipse and Mylyn Trac connector:
Unable to submit at this time. Check connectivity and retry.
"id" while executing 'ticket.update()'


Log in trac:
File "build/bdist.linux-i686/egg/overrideeditplugin/api.py", line 69, in _validate_ticket

skey = "warning-"+req.argsid?+'-'+req.args.get('ts')

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by bobbysmith007

  • Resolution set to fixed
  • Status changed from new to closed

(In [11104]) dont do our special stuff if there is not a ticket id. we must be on a saved ticket with a ticket id in the request for this to behave fix #9660

comment:2 Changed 3 years ago by bobbysmith007

That should solve the immediate problem. I have been using this plugin since trac10 without any real issues (wrt: get the id out of the args). I dont use eclipse / mylyn.

Can you think of why there might not be an ID in the args (eg this is a new ticket)?

The fix above should resolve the immediate failure case, but it would be nice to know what caused this problem in the first place.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from bobbysmith007. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.