Hello ,
I have tested the char field and found the same problem.
So , I am confirming this issue.
Thanks for reporting.
** Changed in: openobject-client-web
Importance: Undecided => Low
** Changed in: openobject-client-web
Status: New => Confirmed
** Changed in: openobject-client-web
Assignee: (unassigned) => OpenERP SA's Web Client R&D (openerp-dev-web)
--
You received this bug notification because you are a member of OpenERP
SA's Web Client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/779973
Title:
Web client crashes for some values in any char field
Status in OpenERP Web Client:
Confirmed
Bug description:
revno 4595
Try to enter value "(a 2)" (or "(test 3)" or in my case: "(Sans
adresse 2)") for example in any char field: the webclient will try to
evaluate it and crash:
End of the (long) stacktrace:
/home/odoo/openerp/web/openobject/tools/ast.py in parse(expr='(a 2)',
filename='<unknown>', mode='eval')
11 Equivalent to compile(expr, filename, mode, PyCF_ONLY_AST).
12 """
13 return compile(expr, filename, mode, PyCF_ONLY_AST)
14
15 def literal_eval(node_or_string):
builtin compile = <built-in function compile>, expr = '(a 2)', filename =
'<unknown>', mode = 'eval', global PyCF_ONLY_AST = 1024
<type 'exceptions.SyntaxError'>: invalid syntax (<unknown>, line 1)
args = ('invalid syntax', ('<unknown>', 1, 4, '(a 2)'))
filename = '<unknown>'
lineno = 1
message = ''
msg = 'invalid syntax'
offset = 4
print_file_and_line = None
text = '(a 2)'
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help : https://help.launchpad.net/ListHelp