openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #06475
[Bug 779973] [NEW] Web client crashes for some values in any char field
Devishree Brahmbhatt (OpenERP) (dbr-openerp) has assigned this bug to you for OpenERP Web Client:
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)'
** Affects: openobject-client-web
Importance: Low
Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
Status: Confirmed
--
Web client crashes for some values in any char field
https://bugs.launchpad.net/bugs/779973
You received this bug notification because you are a member of OpenERP SA's Web Client R&D, which is a bug assignee.