Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5387 closed defect (fixed)

Error loading actions in Mylyn

Reported by: Stephen Moretti Owned by: Odd Simon Simonsen
Priority: high Component: XmlRpcPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description (last modified by Odd Simon Simonsen)

Using r6057 and Mylyn 3.2.0I20090616-0200-e3x

Getting Fault code 2 : DeleteTicketActionController' object has no attribute 'actions while executing 'ticket.getAvailableActions()'

Current ticket status is "accepted".

Looking in Trac I have :

  • leave as accepted
  • Ready to QA to The owner will change from stephenm. Next status will be 'in_QA'
  • resolve as The resolution will be set. Next status will be 'closed'
  • request info to The owner will change from stephenm. Next status will be 'more_info_required'
  • reassign to The owner will change from stephenm. Next status will be 'assigned'
  • delete ticket This ticket will be deleted.
  • accept Next status will be 'accepted'

as available actions.

I've attached my workflow file. Please don't hesitate to contact me if you have any questions.

Attachments (1)

workflow.ini (1.5 KB) - added by Stephen Moretti 8 years ago.
Custom Workflow config

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by Stephen Moretti

Attachment: workflow.ini added

Custom Workflow config

comment:1 Changed 8 years ago by Odd Simon Simonsen

You have installed the DeleteTicketActionController from Trac 0.11.x sample-plugins? Looks like it from the naming at least.

I'll look at it - and see what this type of plugin is missing. Seems I'm trying to access an attribute it doesn't have.

comment:2 Changed 8 years ago by Odd Simon Simonsen

Resolution: fixed
Status: newclosed

(In [6059]) XmlRpcPlugin: Problem with ticket.getAction() accessing an attribute not all plugins may have - in this case triggered by DeleteTicket.py sample plugin. Closes #5387.

comment:3 Changed 8 years ago by Odd Simon Simonsen

Oops. Redone the fix in [6080] - including test to detect to detect unexpected changes in results.

comment:4 Changed 8 years ago by Stephen Moretti

heh heh - just as well I haven't had an opportunity to put the updates past r6059 yet. ;)

Thanks for doing this - it works a treat.

comment:5 Changed 8 years ago by Steffen Pingel

Description: modified (diff)

Thanks for fixing this osimons. Can you increase the version in trunk to 1.0.6? I received a few bug reports for Mylyn due to missing action labels and added a check that recommends upgrading to the latest if 1.0.5 is installed.

comment:6 in reply to:  5 Changed 8 years ago by Odd Simon Simonsen

Description: modified (diff)

Replying to stp:

Can you increase the version in trunk to 1.0.6?

Sure, [6141] makes 1.0.6 the latest.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Odd Simon Simonsen.
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.