Regression: safe_eval() doesn't allow loops,pop_block and set()

Bug #633896 reported by Dukai Gábor
212
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Status tracked in Trunk
5.0
Fix Released
Medium
Unassigned
Trunk
Fix Released
Medium
Dhruti Shastri(OpenERP)

Bug Description

Hi!
Latest 5.0 bzr.
You should try to run a code type of server action, they don't work at all. Regression made in this commit: <email address hidden>
There is an example in 5.0-extra-addons/product_related_pricelist_items/pricelist_action.xml if you needed.

Changed in openobject-server:
milestone: none → 5.0.15
importance: Undecided → High
importance: High → Medium
summary: - Regression: code server actions don't work at all (5.0)
+ Regression: safe_eval() doesn't allow loops,pop_block and set()
Changed in openobject-server:
assignee: nobody → DHS(OpenERP) (dhs-openerp)
status: New → Confirmed
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thanks a lot for reporting this Dukai.

Can you check with the attached patch?

Thanks.

visibility: public → private
Revision history for this message
Dukai Gábor (gdukai) wrote :

It works!

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

Thanks for the feedback Dukai.
It has been fixed by revision 2144 <email address hidden>.

Changed in openobject-server:
status: Confirmed → Fix Released
visibility: private → public
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Fixed on trunk by revision 2907 <email address hidden>.
Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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