Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 18 years ago

#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 ludde, 20 years ago

The line should probably read ticket.update(Ticket(self.db, int(rest_id)))

a Ticket is not a UserDict anymore since [1516]

comment:2 by dna, 20 years ago

my installation has revision ≥ [1516]

but this error is only sometimes.

comment:3 by Christopher Lenz, 20 years ago

Component: generalticket system
Keywords: query added; Query removed
Status: newassigned

Mea culpa.

comment:4 by Christopher Lenz, 20 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [1536].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.