Modify ↓
#1451 closed defect (fixed)
error on active-ticket-query from the roadmap
Reported by: | dna | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | ticket system | Version: | devel |
Severity: | critical | Keywords: | query |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
sometimes, when i click on "active tickets"
/trac/query?status=new&status=assigned&status=reopened&milestone=ms1
in the roadmap following error is released:
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 237, in handler dispatch_request(mpr.path_info, mpr, env) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 302, in dispatch_request module.render(req) File "/usr/lib/python2.3/site-packages/trac/Query.py", line 478, in render self.display_html(req, query) File "/usr/lib/python2.3/site-packages/trac/Query.py", line 548, in display_html ticket.update(Ticket(self.db, int(rest_id)).data) AttributeError: 'Ticket' object has no attribute 'data'
Attachments (0)
Change History (4)
comment:1 by , 20 years ago
comment:3 by , 20 years ago
Component: | general → ticket system |
---|---|
Keywords: | query added; Query removed |
Status: | new → assigned |
Mea culpa.
Note:
See TracTickets
for help on using tickets.
The line should probably read ticket.update(Ticket(self.db, int(rest_id)))
a Ticket is not a UserDict anymore since [1516]