[trunk][survey] regression: answering survey with GTK generates a server SQL bug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hello this is using trunk / 6.1 with revisions:
client #1986
server #3776
addons #5466
Try to answer the "Odoo feedback" survey with the GK client with default demo data. Try to switch from page 1 to page 2.
On the GTK log you'll get this error:
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
Operating System Release : 3.0.0-12-generic
Operating System Version : #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF-8
Python Version : 2.7.2+
OpenERP-Client Version : 6.1dev
Last revision No. & ID :1986 launchpad_
Traceback (most recent call last):
File "/home/
result = netsvc.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/
cr.
File "/home/
return f(self, *args, **kwargs)
File "/home/
res = self._obj.
ProgrammingError: operator does not exist: integer = boolean
LINE 1: ...survey_
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
/home/rvalyi/
ui.add_
actually, it seems that the GTK is passing something wrong to the server that make it crash because using the web-client the same action works. This is why I set it up as a GTK bug here.
Hope this helps
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 116 lines (+16/-21)3 files modifiedsurvey/test/survey00.yml (+1/-1)
survey/wizard/survey_answer.py (+14/-19)
survey/wizard/survey_selection.py (+1/-1)
I confirm the problem,
Attached fix solves the issue, but there we meet another error.
Looking forward to fix it.
Thanks.