cubicweb #342995 multi-source bug when trying to activate an external source on crom [resolved]

Traceback

File /usr/lib/python2.5/site-packages/cubicweb/web/application.py, line 321, function main_publish
  result = controller.publish(rset=rset)
File /usr/lib/python2.5/site-packages/cubicweb/web/views/basecontrollers.py, line 66, function publish
  return self.vreg.main_template(self.req, template, rset=rset)
File /usr/lib/python2.5/site-packages/cubicweb/cwvreg.py, line 165, function main_template
  res = self.render('templates', oid, req, **context)
File /usr/lib/python2.5/site-packages/cubicweb/cwvreg.py, line 158, function render
  return selected.dispatch(**context)
File /usr/lib/python2.5/site-packages/cubicweb/common/view.py, line 144, function dispatch
  view_func(**context)
File /usr/lib/python2.5/site-packages/cubicweb/web/views/basetemplates.py, line 142, function call
  view.dispatch(w=self.w)
File /usr/lib/python2.5/site-packages/cubicweb/common/view.py, line 144, function dispatch
  view_func(**context)
File /usr/lib/python2.5/site-packages/cubicweb/common/view.py, line 167, function call
  self.wview(self.id, rset, row=i, **kwargs)
File /usr/lib/python2.5/site-packages/cubicweb/common/view.py, line 216, function wview
  self.view(__vid, rset, __fallback_vid, w=self.w, **kwargs)
File /usr/lib/python2.5/site-packages/cubicweb/common/view.py, line 211, function view
  return view.dispatch(**kwargs)
File /usr/lib/python2.5/site-packages/cubicweb/common/view.py, line 144, function dispatch
  view_func(**context)
File /usr/share/cubicweb/cubes/crm/views/default.py, line 37, function cell_call
  self._primary_main_info(entity),
File /usr/share/cubicweb/cubes/crm/views/workcase.py, line 43, function _primary_main_info
  html.append(entity.view('invoicing'))
File /usr/lib/python2.5/site-packages/cubicweb/common/entity.py, line 409, function view
  row=self.row, col=self.col, **kwargs)
File /usr/lib/python2.5/site-packages/cubicweb/cwvreg.py, line 158, function render
  return selected.dispatch(**context)
File /usr/lib/python2.5/site-packages/cubicweb/common/view.py, line 144, function dispatch
  view_func(**context)
File /usr/share/cubicweb/cubes/crm/views/workcase.py, line 124, function cell_call
  ')', {'w': entity.eid})
File /usr/lib/python2.5/site-packages/cubicweb/dbapi.py, line 251, function execute
  return self.cursor.execute(*args, **kwargs)
File /usr/lib/python2.5/site-packages/cubicweb/dbapi.py, line 578, function execute
  parameters, eid_key, build_descr)
File /usr/lib/python2.5/site-packages/cubicweb/server/repository.py, line 551, function execute
  build_descr)
File /usr/lib/python2.5/site-packages/cubicweb/server/querier.py, line 648, function execute
  results = plan.execute()
File /usr/lib/python2.5/site-packages/cubicweb/server/querier.py, line 161, function execute
  result = step.execute()
File /usr/lib/python2.5/site-packages/cubicweb/server/mssteps.py, line 288, function execute
  self.execute_children()
File /usr/lib/python2.5/site-packages/cubicweb/server/ssplanner.py, line 276, function execute_children
  step.execute()
File /usr/lib/python2.5/site-packages/cubicweb/server/mssteps.py, line 149, function execute
  self.execute_children()
File /usr/lib/python2.5/site-packages/cubicweb/server/ssplanner.py, line 276, function execute_children
  step.execute()
File /usr/lib/python2.5/site-packages/cubicweb/server/mssteps.py, line 87, function execute
  self.inputmap)
File /usr/lib/python2.5/site-packages/cubicweb/server/sources/native.py, line 311, function flying_insert
  self.merge_args(args, query_args))
File /usr/lib/python2.5/site-packages/cubicweb/server/sources/native.py, line 414, function doexec
  cursor.execute(str(query), args)


 Error: missing FROM-clause entry in subquery for table "_twpwt16"
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 66)</p>
Literal block ends without a blank line; unexpected unindent.
LINE 1: ... C2, S.name AS C3, I.amount AS C4, I.taxes AS C5, _TWPWT16.C...
^
URL:

http://intranet.logilab.fr/crm/workcase/MDSG06

form params:
  • vid = error
CubicWeb version:

3.1.4

Package crm version:

0.24.0

Package zone version:

1.2.0

Package workorder version:

0.3.1

Package workcase version:

0.3.0

Package tag version:

1.4.5

Package person version:

1.3.0

Package link version:

1.2.0

Package keyword version:

1.2.1

Package invoice version:

0.3.0

Package folder version:

1.3.1

Package company version:

0.2.0

Package basket version:

1.1.0

Package addressbook version:

1.3.0

priorityimportant
typebug
done in3.3.0
load1.000
load left0.000
closed by<not specified>