crm mail - DATA LOSS - subject truncated to 64 characters
Bug #476354 reported by
Ferdinand
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
openerp-mailgate.py / fetchmail fetches the data but stores the subject into 64 char field regardless of the actual length of the subject
often valuable information gets lost.
as the mail subject propably has no limit in length I suggest to
* change the length of crm_case.name to 256 (done in branch
~openerp-
* add the subject at the beginning of the message body if longer than 256 chars (TODO)
Related branches
Changed in openobject-addons: | |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Fix Released |
milestone: | none → v6.0 |
Changed in openobject-addons: | |
milestone: | 6.0 → 5.2 |
To post a comment you must log in.
have to crm_case_ service_ dashboard;
drop view report_
manually -
I know this icould be problem especially if views are used which are not created in openerp modules (as in one db of my clients) and hence would be dropped and not recreated.
[2009-11-06 13:57:58,417] INFO:orm:column 'name' in table 'crm_case' changed size server. py", line 111, in <module> get_db_ and_pool( db, update_ module= tools.config[ 'init'] or tools.config[ 'update' ]) terp/OpenERP/ branch/ server/ 5.0/bin/ pooler. py", line 40, in get_db_and_pool load_modules( db, force_demo, status, update_module) terp/OpenERP/ branch/ server/ 5.0/bin/ addons/ __init_ _.py", line 728, in load_modules graph(cr, graph, status, report=report) terp/OpenERP/ branch/ server/ 5.0/bin/ addons/ __init_ _.py", line 581, in load_module_graph module_ objects( cr, package.name, modules) terp/OpenERP/ branch/ server/ 5.0/bin/ addons/ __init_ _.py", line 366, in init_module_objects terp/OpenERP/ branch/ server/ 5.0/bin/ osv/orm. py", line 1853, in _auto_init execute( 'ALTER TABLE "%s" DROP COLUMN temp_change_size' % (self._table,)) terp/OpenERP/ branch/ server/ 5.0/bin/ sql_db. py", line 76, in wrapper terp/OpenERP/ branch/ server/ 5.0/bin/ sql_db. py", line 120, in execute execute( query, params) InternalError: cannot drop table crm_case column temp_change_size because other objects depend on it
Traceback (most recent call last):
File "./openerp-
pooler.
File "/home/
addons.
File "/home/
r = load_module_
File "/home/
init_
File "/home/
result = obj._auto_init(cr, {'module': module_name})
File "/home/
cr.
File "/home/
return f(self, *args, **kwargs)
File "/home/
res = self._obj.
psycopg2.
HINT: Use DROP ... CASCADE to drop the dependent objects too.