Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5816 closed defect (duplicate)

error when using custom query

Reported by: justinas@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.10.3
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Tim Hatch)

I went to the Tickets section selected Custom query. Then selected where owner is Mindaugas (my colegues name) and group by Version. After execution opened the ticket where there was no version assigned, there was an attachement, i opened it, after looking through hit the back button on the browser, and went back to the ticket, then clicked Back to custom Query link located below the top menu and got this error:

Python Traceback
Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/var/lib/python-support/python2.4/trac/ticket/query.py", line 443, in process_request
    self.display_html(req, query)
  File "/var/lib/python-support/python2.4/trac/ticket/query.py", line 608, in display_html
    req.hdf['query.num_matches_group'] = num_matches_group
  File "/var/lib/python-support/python2.4/trac/web/clearsilver.py", line 197, in __setitem__
    self.set_value(name, value, True)
  File "/var/lib/python-support/python2.4/trac/web/clearsilver.py", line 245, in set_value
    add_value(name, value)
  File "/var/lib/python-support/python2.4/trac/web/clearsilver.py", line 237, in add_value
    add_value('%s.%s' % (prefix, k), value[k])
  File "/var/lib/python-support/python2.4/trac/web/clearsilver.py", line 221, in add_value
    set_str(prefix, int(value))
  File "/var/lib/python-support/python2.4/trac/web/clearsilver.py", line 215, in set_str
    self.hdf.setValue(prefix.encode('utf-8'), str(value))
Error: Traceback (innermost last):
  File "neo_hdf.c", line 805, in hdf_set_value()
  File "neo_hdf.c", line 795, in _set_value()
AssertError: Unable to set Empty component query.num_matches_group.

Attachments (0)

Change History (1)

comment:1 by Tim Hatch, 17 years ago

Description: modified (diff)
Resolution: duplicate
Severity: majornormal
Status: newclosed
Version: 0.10.3

I think this is the same issue as #4218 which was fixed for 0.10.4. Please upgrade and try to reproduce — feel free to reopen the ticket if the problem still exists.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.