Modify ↓
#12623 closed defect (fixed)
TypeError after submitting on modify-comment form for removed comment
Reported by: | Jun Omae | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.14 |
Component: | ticket system | Version: | 1.0.11 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
Raise a |
||
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
Attachments (0)
Change History (3)
comment:1 by , 8 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:3 by , 8 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Thanks for the reviewing! Committed in [15263] and merged in [15264-15265].
Note:
See TracTickets
for help on using tickets.
Proposed changes in [1d9245214/jomae.git].