Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Issue with decrement variable #10

Open
jcuribe opened this issue Aug 10, 2017 · 0 comments · May be fixed by #15
Open

Issue with decrement variable #10

jcuribe opened this issue Aug 10, 2017 · 0 comments · May be fixed by #15

Comments

@jcuribe
Copy link

jcuribe commented Aug 10, 2017

Using PHP 7.1 when using variableDecrement and Increment an exception is thrown.

We have traced the error back to the ezcWorkflowNodeArithmeticBase::Execute.

The issue arises because VariableDecrement and Increment do not set $configuration/operand, therefore at the moment when execute checks if it's set an exception is thrown.

The correction is to modify ezcWorkflowNodeArithmeticBase::Execute,
add line 100> $operand = 1;
add line 115> if ($operand !==null) { $this->operand = $operand }
else

sgehrig pushed a commit to teqneers/Workflow that referenced this issue Jan 19, 2018
@sgehrig sgehrig linked a pull request Jan 19, 2018 that will close this issue
sgehrig pushed a commit to teqneers/Workflow that referenced this issue Jan 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant