Modify ↓
Ticket #6273 (closed defect: wontfix)
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:
- Go to custom query
- Select bunch of tickets which belong to milestone m1
- Do batch update of changing them to milestone m2
- 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
Note: See
TracTickets for help on using
tickets.



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