StateItem::isTransitionAllowed() should only check that the passed transition is allowed

Created on 24 February 2023, over 1 year ago

Problem/Motivation

Currently, StateItem::isTransitionAllowed() calls StateItem::getTransitions() which results in state transition guards being invoked for all the possible transitions.

This to me is a bug since the attempt here is to only check that the passed transition is allowed, not ALL of them, patch to follow.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇱Israel jsacksick

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024