ir.attachment res_name : function _name_get_resname exceeds size limit
Bug #772230 reported by
Jacques-Etienne Baudoux
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP's Framework R&D | ||
6.0 |
Fix Released
|
Medium
|
OpenERP Publisher's Warranty Team |
Bug Description
Hi,
In ir.attachment, the field res_name is a function field of size 128 stored in DB as char. However, the function calculating the res_name can generate a name exceeding this size.
I'll post a merge proposal to fix this issue.
kr,
J-E
Related branches
lp:~openerp-dev/openobject-server/6.0-opw-5480-ach
- Olivier Dony (Odoo): Pending requested
- Jay Vora (Serpent Consulting Services): Pending requested
-
Diff: 29 lines (+8/-3)1 file modifiedbin/addons/base/ir/ir_attachment.py (+8/-3)
lp:~openerp-dev/openobject-server/trunk-bug-772230-nch
Rejected
for merging
into
lp:openobject-server
- OpenERP Core Team: Pending requested
-
Diff: 29 lines (+8/-3)1 file modifiedopenerp/addons/base/ir/ir_attachment.py (+8/-3)
Changed in openobject-server: | |
assignee: | nobody → Server (server) |
importance: | Undecided → Low |
status: | New → In Progress |
assignee: | Server (server) → nobody |
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
status: | In Progress → Confirmed |
Changed in openobject-server: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
Hello JBA,
I had faced the issue few days back. I confirm the issue. It indeed is crashing the system and is a real bug.
It has been fixed by revision 3415 <email address hidden> in the branch lp:~openerp-dev/openobject-server/6.0-opw-5480-ach.
It will be merged soon in the stable.
Thanks a lot for pointing out towards such a crucial issue.