Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

v8 filestore randomly appends a space to the file path when saving attachments

By
Timo Ahtikari
on 6/17/16, 8:13 AM 101 views

I've been running into a really weird bug in our production env, where seemingly at random (I've been trying really hard to find a pattern here) some of the attachments get saved into incorrect path, which is otherwise the same as the correct default path (/home/odoo/.local/share/Odoo/filestore/<database_name>) except there's an extra space character at the end of the database name. This only occurs when saving those attachments, when trying to read, Odoo tries to read from the correct path (sans the space) and obviously produces an error.


Any pointers?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/17/16, 8:13 AM
Seen: 101 times
Last updated: 6/17/16, 11:13 AM