cubicweb-localperms #2148168 crash on /cwgroup [open]

Traceback (most recent call last):
File "/home/auc/src/fcw/cubicweb/web/views/basecontrollers.py", line 283, in publish
result = func(*args)
File "/home/auc/src/fcw/cubicweb/web/views/basecontrollers.py", line 53, in wrapper
result = func(self, *args, **kwargs)
File "/home/auc/src/fcw/cubicweb/web/views/basecontrollers.py", line 386, in js_view
return self._call_view(view, paginate=req.form.pop('paginate', False))
File "/home/auc/src/fcw/cubicweb/web/views/basecontrollers.py", line 358, in _call_view
view.render(**kwargs)
File "/home/auc/src/fcw/cubicweb/view.py", line 165, in render
view_func(**context)
File "/home/auc/src/fcw/cubicweb/web/views/cwuser.py", line 239, in call
self.wview('cw.groups-table', self._cw.execute(self.rql))
File "/home/auc/src/fcw/cubicweb/view.py", line 271, in wview
self._cw.view(__vid, rset, __fallback_vid, w=self.w, **kwargs)
File "/home/auc/src/fcw/cubicweb/req.py", line 344, in view
return view.render(w=w, **kwargs)
File "/home/auc/src/fcw/cubicweb/view.py", line 165, in render
view_func(**context)
File "/home/auc/src/fcw/cubicweb/web/views/tableview.py", line 892, in call
self.layout_render(self.w)
File "/home/auc/src/fcw/cubicweb/web/component.py", line 274, in layout_render
layout.render(w)
File "/home/auc/src/fcw/cubicweb/web/views/tableview.py", line 207, in render
self.render_table(w, actions, self.view.paginable)
File "/home/auc/src/fcw/cubicweb/web/views/tableview.py", line 248, in render_table
self.render_table_body(w, colrenderers)
File "/home/auc/src/fcw/cubicweb/web/views/tableview.py", line 227, in render_table_body
self.render_row(w, rownum, colrenderers)
File "/home/auc/src/fcw/cubicweb/web/views/tableview.py", line 263, in render_row
self.render_cell(w, rownum, colnum, renderer)
File "/home/auc/src/fcw/cubicweb/web/views/tableview.py", line 278, in render_cell
renderer.render_cell(w, rownum)
File "/home/auc/src/fcw/cubicweb/web/views/tableview.py", line 736, in render_cell
self.renderfunc(w, entity)
File "/home/auc/src/fcw/cubes/localperms/views.py", line 156, in local_permissions_cell
'G eid %(x)s', {'x': entity.eid})
File "/home/auc/src/fcw/cubicweb/dbapi.py", line 485, in execute
build_descr=build_descr, **self._txid())
File "/home/auc/src/fcw/cubicweb/server/repository.py", line 725, in execute
build_descr)
File "/home/auc/src/fcw/cubicweb/server/querier.py", line 691, in execute
rqlst = self.parse(rql)
File "/home/auc/src/fcw/cubicweb/server/querier.py", line 637, in parse
return self._parse(unicode(rql), annotate=annotate)
File "/home/auc/src/fcw/rql/__init__.py", line 88, in parse
self._checker.check(rqlst)
File "/home/auc/src/fcw/rql/stcheck.py", line 92, in check
raise BadRQLQuery('%s\n** %s' % (node, '\n** '.join(state.errors)))
BadRQLQuery: Any X WHERE X granted_permission P, P require_group G, G eid %(x)s
** unknown relation `granted_permission`

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