Modify ↓
Opened 10 years ago
Closed 8 years ago
#12084 closed defect (fixed)
NameError: global name 'otherID' is not defined
Reported by: | anonymous | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | ValuePropagationPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description (last modified by )
Prerequisite: trac.ini ...
[value_propagation] r1.fields=hours r1.link=parents r1.method.hours=sum r1.type=link
Reproduction steps:
- New Ticket
- Setting Estimation Hours
- Adding Hours
- Set Parent Ticket Relation
Setting the parent ticket from an existing ticket with an estimation, value propagation plugin shows an error that 'otherID' is not defined.
2014-12-01 13:53:58,016 Trac[main] ERROR: Internal Server Error: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 497, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 214, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 179, in process_request return self._process_ticket_request(req) File "/usr/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 614, in _process_ticket_request self._do_save(req, ticket, action) File "/usr/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 1328, in _do_save replyto=req.args.get('replyto')) File "/usr/lib/python2.7/site-packages/trac/ticket/model.py", line 365, in save_changes listener.ticket_changed(self, comment, author, old_values) File "build/bdist.linux-x86_64/egg/valuepropagation/valuepropagation.py", line 361, in ticket_changed self.types[v](p[0], ticket, old_values) File "build/bdist.linux-x86_64/egg/valuepropagation/valuepropagation.py", line 251, in _handle_link self._propagate(r, ticket, old_values, oldOtherID, newOtherID) File "build/bdist.linux-x86_64/egg/valuepropagation/valuepropagation.py", line 275, in _propagate if newOtherID == oldOtherID or otherID == '': NameError: global name 'otherID' is not defined
Attachments (0)
Change History (3)
comment:1 Changed 10 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 8 years ago by
Owner: | changed from Chris Nelson to Ryan J Ollos |
---|---|
Status: | new → accepted |
comment:3 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
In 16190: