The payment resources should check whether the "place" transition is allowed

Created on 23 February 2023, about 2 years ago

Problem/Motivation

Currently, we don't check whether the transition is allowed before attempting to apply it.

As a result, if a state transition guard is implemented it'll be ignored.

If the transition is simply not allowed by the workflow, it'll crash so we have to handle this more gracefully.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇱Israel jsacksick

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024