Edgewall Software
Modify

Ticket #6273 (closed defect: wontfix)

Opened 2 years ago

Last modified 2 years ago

Pythong script error during batch modify

Reported by: anonymous Owned by: jonas
Priority: normal Milestone:
Component: ticket system Version: 0.10.3
Severity: normal Keywords: batching query plugin
Cc:

Description (last modified by eblot) (diff)

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

Change History

comment:1 Changed 2 years ago by eblot

  • Keywords plugin added
  • Priority changed from high to normal
  • Status changed from new to closed
  • Resolution set to wontfix
  • Description modified (diff)

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

comment:2 Changed 2 years ago by eblot

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.