Opened 19 years ago
Closed 18 years ago
#1326 closed defect (fixed)
unrecoverable error when "blocking" value is invalid
| Reported by: | phpxcache | Owned by: | Noah Kantrowitz |
|---|---|---|---|
| Priority: | high | Component: | MasterTicketsPlugin |
| Severity: | blocker | Keywords: | |
| Cc: | pmocek-edgewall-tracwiki@… | Trac Release: | 0.10 |
Description
"1,2,3" works "1 2 3" give backtrace, and u get no chance to fix the ticket untill mastertickets id disabled
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 239, in dispatch
template, content_type = self._post_process_request(req,
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 269, in _post_process_request
content_type)
File "build/bdist.linux-i686/egg/mastertickets/web_ui.py", line 59, in post_process_request
File "build/bdist.linux-i686/egg/mastertickets/util.py", line 24, in linkify_ids
File "/usr/lib/python2.4/site-packages/trac/ticket/model.py", line 40, in __init__
self._fetch_ticket(tkt_id, db)
File "/usr/lib/python2.4/site-packages/trac/ticket/model.py", line 86, in _fetch_ticket
raise TracError('Ticket %d does not exist.' % tkt_id,
TypeError: int argument required
Attachments (0)
Change History (5)
comment:1 Changed 19 years ago by
comment:2 Changed 19 years ago by
I love this plugin and am hoping this issue is resolved soon so I can use it again. Thanks!
comment:3 Changed 18 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
This was fixed in changeset:5836.
comment:4 Changed 18 years ago by
| Cc: | pmocek-edgewall-tracwiki@… added; anonymous removed |
|---|---|
| Resolution: | fixed |
| Status: | closed → reopened |
I made the same change as in changeset:5836 in my Trac 0.10 installation (edited model.py & re-generated model.pyc), and found that when I attempt to view the offending ticket, the same stack trace is shown (with the exception that the next-to-last line shows "Ticket %s does not exist" instead of "Ticket %d does not exist"):
comment:5 Changed 18 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
I do not have the bandwidth to support both 0.10 and 0.11. 0.10 will no longer be supported with respect to this plugin.



Confirmed here too. If you enter ticket ids which aren't comma-separated, you will get this grumpy error message.
Quick fix is to edit the DB directly, and do this (where 316 is the ticket with a bung blocking entry):