Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant