← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 661234] [NEW] Can't use loops in server actions (5.0)

 

Public bug reported:

Hi!
5.0 latest bzr.
The safe_eval() used for running code type server actions doesn't allow loops to be included in the server action.
It gives a "ValueError: opcode SETUP_LOOP not allowed" error.

The 'SETUP_LOOP' and  'POP_BLOCK' opcodes should be allowed to be able
to use loops.

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
Can't use loops in server actions (5.0)
https://bugs.launchpad.net/bugs/661234
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Server: New

Bug description:
Hi!
5.0 latest bzr.
The safe_eval() used for running code type server actions doesn't allow loops to be included in the server action.
It gives a "ValueError: opcode SETUP_LOOP not allowed" error.

The 'SETUP_LOOP' and  'POP_BLOCK' opcodes should be allowed to be able to use loops.





Follow ups

References