cubicweb-tracker #1890568 backtrace on wrong sort_col for project stats view [open]

When googlebot visits /jplrecia/view?rql=Any%20P%2CPN%20WHERE%20P%20name%20PN%2C%20P%20in_state%20S%2C%20S%20name%20%22active%20development%22&__force_display=1&vid=stats&sort_col=confirmed the cubicweb log shows:

2011-07-29 13:11:58 - (cubicweb.web) ERROR: KeyError(u'Col (confirmed) not found in table',)
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/cubicweb/web/application.py", line 369, in main_publish
result = controller.publish(rset=rset)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/basecontrollers.py", line 124, in publish
rset=rset, view=view)
File "/usr/lib/python2.6/dist-packages/cubicweb/cwvreg.py", line 397, in main_template
res = obj.render(**kwargs)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 176, in render
view_func(**context)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/basetemplates.py", line 142, in call
view.render(w=w)
File "/usr/lib/python2.6/dist-packages/cubicweb/view.py", line 176, in render
view_func(**context)
File "/usr/share/cubicweb/cubes/tracker/views/project.py", line 208, in call
table.sort_by_column_id(sort_col, method='desc')
File "/usr/lib/pymodules/python2.6/logilab/common/table.py", line 94, in sort_by_column_id
raise KeyError("Col (%s) not found in table" % (col_id))
KeyError: u'Col (confirmed) not found in table'

priorityminor
typebug
done in<not specified>
closed by<not specified>