Skip to content

Commit

Permalink
Merge pull request #7443 from spryker/bugfix/te-5610-transition-log-i…
Browse files Browse the repository at this point in the history
…ssue

TE-5610 OMS transition logs are missing condition values when they are not passed.
  • Loading branch information
Spryker Release Bot authored Aug 28, 2020
2 parents 5cf1c76 + c1371b8 commit e33dc5f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,10 @@ protected function checkCondition(array $transitions, $orderItem, StateInterface
}

if ($conditionCheck === true) {
$log->addCondition($orderItem, $conditionModel);
array_unshift($possibleTransitions, $transition);
}

$log->addCondition($orderItem, $conditionModel);
} else {
array_push($possibleTransitions, $transition);
}
Expand Down

0 comments on commit e33dc5f

Please sign in to comment.