Modify

Opened 13 years ago

Closed 13 years ago

#8606 closed enhancement (worksforme)

Are there any plans to make this work in 0.12 release?

Reported by: Josh Owned by: Eli Carter
Priority: high Component: AdvancedTicketWorkflowPlugin
Severity: blocker Keywords: 0.12
Cc: Trac Release: 0.12

Description

Currently there is no workflow plugins for making ticket-type dependent workflows (like you can do with the AdvancedTicketWorkflowPlugin in 0.11). If the author of this code is no longer developing it, can someone else take this over? I have no experience with python or trac plugins, so I really wouldn't be too much help. I'm trying to use this plugin along with DynamicFieldsPlugin in 0.12, but can only get the DynamicFieldsPlugin working in 0.12 currently. Please email me if you can use my input or suggestions. Thanks!!

Attachments (2)

Screenshot-3.png (98.4 KB) - added by Josh 13 years ago.
Screenshot of error message transitioning ticket using the triage
trac.ini (5.9 KB) - added by Eli Carter 13 years ago.
config to attempt to reproduce the problem

Download all attachments as: .zip

Change History (10)

comment:1 Changed 13 years ago by Eli Carter

I have not been able to duplicate any problems with this plugin with Trac 0.12 so far...

comment:2 Changed 13 years ago by anonymous

I upgraded from 0.11.7 to the current release of 0.12

comment:3 Changed 13 years ago by Eli Carter

Can you get this down to a minimal Trac environment that reproduces the problem? You sent me this traceback:

File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/main.py", line 513, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/main.py", line 235, in dispatch
  resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/ticket/web_ui.py", line 169, in process_request
  return self._process_ticket_request(req)
File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/ticket/web_ui.py", line 534, in _process_ticket_request
  valid = self._validate_ticket(req, ticket, not valid) and valid

which does not appear to involve this plugin.

I'm wondering if maybe you have some bits leftover from your 0.11.7 install...

Changed 13 years ago by Josh

Attachment: Screenshot-3.png added

Screenshot of error message transitioning ticket using the triage

comment:4 Changed 13 years ago by Josh

The error occurs when I transition the ticket from New -> New Bug using the triage functionality of the plugin

Changed 13 years ago by Eli Carter

Attachment: trac.ini added

config to attempt to reproduce the problem

comment:5 Changed 13 years ago by Eli Carter

Ok, I've attached the complete trac.ini I've used to attempt to reproduce the problem. I created 3 new ticket types: Bug, Feature, and Chore to match what it appears you are using, based on the .ini section you sent me earlier. I can create a new 'Bug' ticket, and then use the 'triage' action from this config I uploaded, and it works. I'm testing this on Trac 0.12-stable and the AdvancedTicketWorkflowPlugin 0.12 branch.

Can you reproduce this error in a test Trac environment, and if so, can you provide a copy of that test environment, or at least all the steps it took to reproduce the problem?

comment:6 Changed 13 years ago by anonymous

I will try this with a fresh 0.12 install with the 0.12 plugin early next week. We have a huge deadline for QA and need to get things rolling with that. I will get back to you next week about this. Thanks for updating the plugin and this ticket!

comment:7 Changed 13 years ago by anonymous

Just an update. I tried the 0.12 plugin with my 0.11->0.12 upgraded trac environment and got the same error (TypeError: _validate_ticket() takes exactly 3 arguments (4 given))

I will try this next week on a fresh install when I get a chance. Thanks again!

comment:8 Changed 13 years ago by anonymous

Resolution: worksforme
Status: newclosed

Works on a fresh 0.12 install. I will close out this ticket as worksforme

Modify Ticket

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