Ticket #2762 (closed defect: fixed)

Opened 6 months ago

Last modified 2 months ago

Allow updating status and resolution of multiple tickets

Reported by: ljufis Assigned to: ashwin_phatak
Priority: normal Component: BatchModifyPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I'm using Trac 0.11b2, BatchModify? 0.2 with the patch attached in ticket 2312 (http://trac-hacks.org/ticket/2312)

Updating of all fields excluding status and resolution works OK. Please allow updating of these both fields too.

Attachments

batchmodify.status-resolution.patch (0.6 kB) - added by anonymous on 04/24/08 08:54:02.
Patch fixes web_ui.py not to ignore status and resolution

Change History

04/14/08 08:14:41 changed by conny@fuchsia.se

"The patch" refers to attachment:ticket:2312:batchmod-jquery1.2.patch, right?

04/24/08 08:27:34 changed by anonymous

I have the same setup, with the jquery patch from #2312 (not the xpath patch) and it fails to update status and resolution. Although the checkboxes work nicely ;)

04/24/08 08:54:02 changed by anonymous

  • attachment batchmodify.status-resolution.patch added.

Patch fixes web_ui.py not to ignore status and resolution

(follow-up: ↓ 4 ) 04/24/08 08:55:56 changed by anonymous

Sorry I don't know how to make the patch "nicer"... But the problem is on line 57 of web_ui.py, where status and resolution are in the list of fields to ignore when applying modifications. Removing them from the list allows them to be modified.

(in reply to: ↑ 3 ) 04/29/08 11:04:55 changed by conny@fuchsia.se

Replying to anonymous:

Sorry I don't know how to make the patch "nicer"...

That works! Perfect! Almost! ;-)

You need to make sure that your users are aware of the fact that this can place tickets in states otherwise deemed invalid since you essentially BYPASS ANY WORKFLOWS you have set up.

I.e. tickets can get stuck like "closed without resolution" as well as "new with resolution".

But in the end - this one together with the -jquery patch takes the BatchModifyPlugin from useless to useful as far as I'm concerned. ;-) Thanks!

05/15/08 13:09:31 changed by anonymous

+1, I need this as well. Of course integrating with workflow would be ideal, but we're OK with it as is.

06/29/08 12:43:40 changed by dgynn

  • status changed from new to closed.
  • resolution set to fixed.

Patch applied in changeset:3917. As pointed out by conny, this completely circumvents the workflow system.


Add/Change #2762 (Allow updating status and resolution of multiple tickets)




Change Properties
Action