Write() : ambiguity on variable IDS which is being used for write itself and for store computation!

Bug #702744 reported by David Janssens
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Status tracked in Trunk
5.0
Fix Released
Medium
Jay Vora (Serpent Consulting Services)
Trunk
Fix Released
Medium
OpenERP's Framework R&D

Bug Description

The loop that calls _store_set_values at the end of orm.write method overwrites the "ids" variable.
This corrupted "ids" variable is used later in the method for the calls to workflow trg_write.

Tags: maintenance
Revision history for this message
xrg (xrg) wrote : Re: [Bug 702744] [NEW] bug in orm write method (v5,6)

On Friday 14 January 2011, you wrote:
> Public bug reported:
>
> The loop that calls _store_set_values at the end of orm.write method
> overwrites the "ids" variable. This corrupted "ids" variable is used later
> in the method for the calls to workflow trg_write.
>

Can you please tell us the line number (in v6.0, latest trunk) where this
happens?

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote : Re: bug in orm write method (v5,6)
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Medium
milestone: none → 6.0
status: New → In Progress
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

The fix landed in server revision 3266 <email address hidden>.
Will assign to maintenance team so they fix it in 5.0 too.

Thanks for reporting!

tags: added: maintenance
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thanks Guys,
It has been fixed on 5.0 as well by revision 2170 <email address hidden>.

summary: - bug in orm write method (v5,6)
+ Write() : ambiguity on variable IDS which is being used for write itself
+ and for store computation!
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.