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

Issue with decrement variable #10

@jcuribe

Description

@jcuribe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions