Re: [Components] [Workflow] execute nodeInput conditions

2008-06-11 Thread Trixy
The conditions attached to input variables are, of course, evaluated (in src/interfaces/execution.php:330). This code is reached only when the input variable is set by ezcWorkflowExecution::resume(). I mean setting a variable by ezcWorkflowExecution::setVariable(). There is no condition

Re: [Components] [Workflow] execute nodeInput conditions

2008-06-11 Thread Sebastian Bergmann
Trixy wrote: This code is reached only when the input variable is set by ezcWorkflowExecution::resume(). Correct. I mean setting a variable by ezcWorkflowExecution::setVariable(). There is no condition check. Of course not. ezcWorkflowExecution::setVariable() is only called by the

Re: [Components] [Workflow] execute nodeInput conditions

2008-06-11 Thread Sebastian Bergmann
Trixy wrote: This code is reached only when the input variable is set by ezcWorkflowExecution::resume(). I mean setting a variable by ezcWorkflowExecution::setVariable(). There is no condition check. I opened an issue ticket for this: http://issues.ez.no/IssueView.php?Id=13182

Re: [Components] [Workflow] execute nodeInput conditions

2008-06-11 Thread Trixy
Sebastian Bergmann schrieb: I mean setting a variable by ezcWorkflowExecution::setVariable(). There is no condition check. Of course not. ezcWorkflowExecution::setVariable() is only called by the Workflow engine itself. You should not call it from outside the Workflow engine. I'm

Re: [Components] [Workflow] execute nodeInput conditions

2008-06-11 Thread Trixy
Thank you :) Sophie Sebastian Bergmann schrieb: Trixy wrote: This code is reached only when the input variable is set by ezcWorkflowExecution::resume(). I mean setting a variable by ezcWorkflowExecution::setVariable(). There is no condition check. I opened an issue ticket for this:

Re: [Components] [Workflow] execute nodeInput conditions

2008-06-11 Thread Trixy
cant't add comment to the issue: Maybe adding the check-condition-stuff to ezcWorkflowExecution::setVariable() like in ezcWorkflowExecution::resume() would be a nice way. Trixy schrieb: Thank you :) Sophie Sebastian Bergmann schrieb: Trixy wrote: This code is reached only when the