Modify

Opened 3 years ago

Closed 3 years ago

#8606 closed enhancement (worksforme)

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

Reported by: josh.applebaum@… Owned by: retracile
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.applebaum@… 3 years ago.
Screenshot of error message transitioning ticket using the triage
trac.ini (5.9 KB) - added by retracile 3 years ago.
config to attempt to reproduce the problem

Download all attachments as: .zip

Change History (10)

comment:1 Changed 3 years ago by retracile

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

comment:2 Changed 3 years ago by anonymous

I upgraded from 0.11.7 to the current release of 0.12

comment:3 Changed 3 years ago by retracile

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 3 years ago by josh.applebaum@…

Screenshot of error message transitioning ticket using the triage

comment:4 Changed 3 years ago by josh.applebaum@…

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

Changed 3 years ago by retracile

config to attempt to reproduce the problem

comment:5 Changed 3 years ago by retracile

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 3 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 3 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 3 years ago by anonymous

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

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

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