cubicweb #344501 Traceback server side when changin permissions on project [resolved]

Adding a permission I got an "Internal Server Error"... the permission seems to be correctly added but here is the traceback server side

 BadRQLQuery: variable I should be selected by the subquery
 2009-07-07 18:01:27 - (cubicweb.sources.system) CRITICAL: sql: 'SELECT DISTINCT M.cw_eid, M.cw_name\nFROM ((SELECT T.cw_eid AS C0, T.cw_cost AS C1, T.cw_load AS C2, T.cw_load_left AS C3,   T.cw_done_in AS C4, rel_in_state1.eid_to AS C5\nFROM cw_Ticket AS T, in_state_relation AS rel_in_state1, orders_relation AS rel_orders0\nWHERE rel_orders0.eid_from=%(203485388)s AND  rel_orders0.eid_to=T.cw_eid AND rel_in_state1.eid_from=T.cw_eid)\nUNION ALL\n(SELECT T.cw_eid AS C0, T.cw_cost AS C1, T.cw_load AS C2, T.cw_load_left AS C3, rel_orders0.eid_to AS C4, rel_in_state1.eid_to AS C5\nFROM cw_Ticket AS T, in_state_relation AS rel_in_state1, orders_relation AS rel_orders0\nWHERE rel_orders0.eid_from=%(203486788)s AND T.cw_done_in=rel_orders0.eid_to AND rel_in_state1.eid_from=T.cw_eid)) AS _T0, cw_Project AS M\nWHERE _T0.cw_concerns=M.cw_eid\nORDER BY 2'
args: {'203485388': 20615, '203486788': 20615}
 dbms message: 'column _t0.cw_concerns does not exist\nLINE 9: WHERE _T0.cw_concerns=M.cw_eid\n              ^\n'
 2009-07-07 18:01:27 - (cubicweb.repository) ERROR: unexpected error
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/cubicweb/server/repository.py", line 592, in execute
   build_descr)
 File "/usr/lib/python2.5/site-packages/cubicweb/server/querier.py", line 649, in execute
   results = plan.execute()
 File "/usr/lib/python2.5/site-packages/cubicweb/server/querier.py", line 161, in execute
   result = step.execute()
 File "/usr/lib/python2.5/site-packages/cubicweb/server/ssplanner.py", line 348, in execute
   inputmap)
 File "/usr/lib/python2.5/site-packages/cubicweb/server/sources/native.py", line 311, in syntax_tree_search
   self.doexec(cursor, sql, args)
 File "/usr/lib/python2.5/site-packages/cubicweb/server/sources/native.py", line 426, in doexec
   cursor.execute(str(query), args)
 ProgrammingError: column _t0.cw_concerns does not exist
 LINE 9: WHERE _T0.cw_concerns=M.cw_eid
             ^

 2009-07-07 18:01:27 - (cubicweb) ERROR: error while getting vocabulary for <cubes.forge.views.facets.TicketConcernsFacet object at 0xb6b388c>, rql: DISTINCT Any M,N ORDERBY N WHERE T concerns M, M   name N, T is Ticket WITH T,C,L,LL,V,S BEING ((Any T,C,L,LL,V,S WHERE W orders T, T is Ticket, W eid 20615, T cost C, T load L, T load_left LL, T done_in V?, T in_state S) UNION (Any T,C,L,LL,V,S WHERE W     orders V, T done_in V, W eid 20615, T cost C, T load L, T load_left LL, T in_state S))
 Traceback (most recent call last):
 File "/usr/lib/python2.5/site-packages/cubicweb/web/facet.py", line 367, in vocabulary
   rset = self.rqlexec(rqlst.as_string(), self.rset.args, self.rset.cachekey)
 File "/usr/lib/python2.5/site-packages/cubicweb/web/facet.py", line 336, in rqlexec
   return self.req.execute(rql, args, cachekey)
 File "/usr/lib/python2.5/site-packages/cubicweb/dbapi.py", line 258, in execute
   return self.cursor.execute(*args, **kwargs)
 File "/usr/lib/python2.5/site-packages/cubicweb/dbapi.py", line 586, in execute
   parameters, eid_key, build_descr)
 File "/usr/lib/python2.5/site-packages/cubicweb/server/repository.py", line 592, in execute
   build_descr)
 File "/usr/lib/python2.5/site-packages/cubicweb/server/querier.py", line 649, in execute
   results = plan.execute()
 File "/usr/lib/python2.5/site-packages/cubicweb/server/querier.py", line 161, in execute
   result = step.execute()
 File "/usr/lib/python2.5/site-packages/cubicweb/server/ssplanner.py", line 348, in execute
   inputmap)
 File "/usr/lib/python2.5/site-packages/cubicweb/server/sources/native.py", line 311, in syntax_tree_search
   self.doexec(cursor, sql, args)
 File "/usr/lib/python2.5/site-packages/cubicweb/server/sources/native.py", line 426, in doexec
   cursor.execute(str(query), args)
 ProgrammingError: column _t0.cw_concerns does not exist
 LINE 9: WHERE _T0.cw_concerns=M.cw_eid
prioritynormal
typebug
done in3.3.5
load0.000
load left0.000
closed by<not specified>