This question has been flagged
1 Reply
3820 Views

I enabled portal.

For example on the quotations page I click on Share, select a sharing method and get the link for the share. It successfully creates the embedded user.

But when I test that link with another browser it shows only our company logo, on the menu only compose message button and the username as embedded-...

Which step I am missing?

Avatar
Discard

I have the same issue. but when I inspect network transfer, I have a 404 error on /web/webclient/js.

Best Answer

I think that the problem is due to an issue with the JavaScript concatenation code.

I noticed that FireFox was complaining about weird characters in http://openerp-host/web/webclient/js that were a UTF-8 byte-order mark (search Wikipedia for "Byte order mark"; I don't have enough karma to post a link here). I managed to determine that addons/web/static/lib/cleditor/jquery.cleditor.js was the source of the problem. Using a hex editor to remove the first three characters (which make up the UTF-8 BOM) at the beginning of that file solved the problem.

The proper way to solve this problem would be to patch the concat_files function in addons/web/controllers/main.py to properly coerce all incoming files to a standard encoding (UTF-8) and remove any encoding control codes (such as a byte-order mark) that are encountered. Unfortunately, I don't have time to write up and test a full patch for this.

Avatar
Discard

This has been posted as a bug on Launchpad: https://bugs.launchpad.net/openerp-web/+bug/1174387

Author

thanks for the details. Will wait until this bug is fixed. Best Regards.