Community mailing list archives
Re: For website themes/snippets/modules developers: mysterious problems of users (non-english websites)by
Are these coming from the core website app? I would have assumed these would have been picked up in automated testing by Odoo.
A quick fix would be to convert them to valid XHTML from what I understand, so:
</br> would be converted to <br/> and & would be converted to &;;
Replying to myself …
Problem is coming from translations, expecially the website/i18n/fr.po file. I corrected it in transifex; hope it will be validated soon.
‘</br>’, and ‘&’ are not valid html code. It made the snippets module crash … because of syntax errors -> etree.fromstring function cannot parse invalid html.
I have the same problem with odoo9 and latest commits from github, even with a clean install.
As soon as I change the default language to French, snippets doesn’t work anymore. Server log is attached.
I have a test database, created in September with odoo9, that is working with both languages (FR and EN) set as default.
Any idea ? See attached log, with JSON error and the latest SQL queries before related to translation.
Tried to find what can be the problem and differences, especially in the ir_ui_view table, without success yet.
From: Humberto Armando Garza De Koster [mailto:email@example.com]
Sent: Saturday, October 17, 2015 1:17 AM
To: Community <firstname.lastname@example.org>
Subject: Re: For website themes/snippets/modules developers: mysterious problems of users (non-english websites)
The same problems, also if it is en_US set on installation, I managed to edit quite good leaving user language in en_US.
On Fri, Oct 16, 2015 at 9:58 AM, Ermin Trevisan <email@example.com> wrote:When somebody wants to set up a website in non-english language(s) only,all kind of mysterious problems may occur. Apps/snippets/widgets etc.seem not to work and the problem seems to be incomprehensible.
This might well be caused by the fact that the user has not installedenglish-US when setting up his website.
maybe this is usable for error tracking in some cases--twanda AGErmin TrevisanArtherstrasse 19CH-6318 Walchwil
RE: For website themes/snippets/modules developers: mysterious problems of users (non-english websites)byDarbTech , Stephane DAGUET / DarbTech SARL