Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 10 years ago

#6273 closed defect (wontfix)

Pythong script error during batch modify

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.10.3
Severity: normal Keywords: plugin
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

Description
When I tried batch update to update milestone of bunch of tickets, python script gave stack trace:

How to reproduce:

  1. Go to custom query
  2. Select bunch of tickets which belong to milestone m1
  3. Do batch update of changing them to milestone m2
  4. you will get python script trace
Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/batchmod/web_ui.py", line 48, in process_request
  File "build/bdist.linux-i686/egg/batchmod/web_ui.py", line 102, in _batch_modify
  File "/var/lib/python-support/python2.4/trac/ticket/model.py", line 262, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File "build/bdist.linux-i686/egg/removepending/remove_pending.py", line 14, in ticket_changed
  File "/var/lib/python-support/python2.4/trac/ticket/model.py", line 104, in __getitem__
    return self.values[name]
KeyError: 'pending'

Attachments (0)

Change History (3)

comment:1 by Emmanuel Blot, 17 years ago

Description: modified (diff)
Keywords: plugin added
Priority: highnormal
Resolution: wontfix
Status: newclosed

This error is triggered by the batchmod plugin. Please contact the maintainer of the plugin.

comment:3 by Ryan J Ollos, 10 years ago

Keywords: batching query removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.