Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5387 closed defect (fixed)

Error loading actions in Mylyn

Reported by: mr_nil Owned by: osimons
Priority: high Component: XmlRpcPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description (last modified by osimons)

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 mr_nil 5 years ago.
Custom Workflow config

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by mr_nil

Custom Workflow config

comment:1 Changed 5 years ago by osimons

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 5 years ago by osimons

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

(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 5 years ago by osimons

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

comment:4 Changed 5 years ago by mr_nil

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 follow-up: Changed 5 years ago by stp

  • 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 5 years ago by osimons

  • 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.

Add Comment

Modify Ticket

Action
as 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.