Opened 7 years ago
Last modified 7 years ago
#12623 closed defect
TypeError after submitting on modify-comment form for removed comment — at Initial Version
Reported by: | Jun Omae | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.14 |
Component: | ticket system | Version: | 1.0.11 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to reproduce:
- Click Edit button on ticket's comment and modify-comment form would be shown
- Remove the ticket's comment from another window
- Click Submit changes button on the modify-comment form
Traceback (most recent call last): File "/venv/lib/python2.6/site-packages/trac/web/main.py", line 554, in _dispatch_request dispatcher.dispatch(req) File "/venv/lib/python2.6/site-packages/trac/web/main.py", line 247, in dispatch resp = chosen_handler.process_request(req) File "/venv/lib/python2.6/site-packages/trac/ticket/web_ui.py", line 181, in process_request return self._process_ticket_request(req) File "/venv/lib/python2.6/site-packages/trac/ticket/web_ui.py", line 578, in _process_ticket_request ticket.modify_comment(change['date'], req.authname, comment) TypeError: 'NoneType' object is unsubscriptable
Note:
See TracTickets
for help on using tickets.