Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#4525 closed defect (duplicate)

Exception when trying complex query while logged in

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

Description

I try the following query:

http://myserver/trac/query?status=new&status=assigned&status=reopened&group=milestone&component=component1&order=priority

If I'm not logged in, everything works fine, however if I'm logged in, the following exception is raised:

Oops…
Trac detected an internal error:

If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.

Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.

TracGuide — The Trac User and Administration Guide
Python Traceback

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 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/ticket/query.py", line 443, in process_request
    self.display_html(req, query)
  File "/usr/lib/python2.4/site-packages/trac/ticket/query.py", line 608, in display_html
    req.hdf['query.num_matches_group'] = num_matches_group
  File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 197, in __setitem__
    self.set_value(name, value, True)
  File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 245, in set_value
    add_value(name, value)
  File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 237, in add_value
    add_value('%s.%s' % (prefix, k), value[k])
  File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 244, in add_value
    set_str(prefix, value)
  File "/usr/lib/python2.4/site-packages/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 806, in hdf_set_value()
  File "neo_hdf.c", line 796, in _set_value()
AssertError: Unable to set Empty component query.num_matches_group.

Attachments (0)

Change History (1)

comment:1 by Matthew Good, 17 years ago

Resolution: duplicate
Status: newclosed

This is a duplicate of #4218. It has been fixed for the upcoming 0.10.4 release.

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.