Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#5017 closed defect (duplicate)

Ticket Query grouped by owner causes error

Reported by: Max Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version:
Severity: normal Keywords: ticket query reload hdf_set_value()
Cc: maximander@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Started at http://dev.DOMAIN.com/trac/site/query?status=new&status=assigned&status=reopened&group=owner) Opened the only 'Owner: None' ticket and closed it, resolution invalid. Hit back arrow twice to return to the initial ticket list and got the following stack trace:

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.4/site-packages/trac/ticket/query.py", line 443, in process_request
    self.display_html(req, query)
  File "/usr/local/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/local/lib/python2.4/site-packages/trac/web/clearsilver.py", line 197, in __setitem__
    self.set_value(name, value, True)
  File "/usr/local/lib/python2.4/site-packages/trac/web/clearsilver.py", line 245, in set_value
    add_value(name, value)
  File "/usr/local/lib/python2.4/site-packages/trac/web/clearsilver.py", line 237, in add_value
    add_value('%s.%s' % (prefix, k), value[k])
  File "/usr/local/lib/python2.4/site-packages/trac/web/clearsilver.py", line 221, in add_value
    set_str(prefix, int(value))
  File "/usr/local/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 783, in hdf_set_value()
  File "neo_hdf.c", line 773, in _set_value()
AssertError: Unable to set Empty component query.num_matches_group.

Attachments (0)

Change History (4)

comment:1 by Christian Boos, 17 years ago

Description: modified (diff)
Milestone: 0.10.5

Yeah, got that as well a few weeks ago, when testing. I could see then that it was a 0.10.x specific issue (i.e. it was not a problem on trunk anymore).

comment:2 by Christian Boos, 17 years ago

Milestone: 0.10.5
Resolution: duplicate
Status: newclosed

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

comment:3 by anonymous, 17 years ago

It is upcoming in 2010 :)

comment:4 by Christian Boos, 17 years ago

Well, there are no further changes planned for 0.10.4, and if you can't wait, it's fairly easy to get it straight from the svn repository: see TracDownload#Tracstable.

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.