Closed (fixed)
Project:
State Machine
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2025 at 07:14 UTC
Updated:
19 May 2025 at 15:14 UTC
Jump to comment: Most recent
Comments
Comment #2
dxvargas commentedComment #3
sourabhsisodia_ commentedComment #6
sourabhsisodia_ commented@niharika.s the if conditions are not correct
Comment #7
sourabhsisodia_ commentedComment #8
divyansh.gupta commentedThe fix addresses the issue where $workflow could be false, leading to an error when calling $workflow->findTransition(). By ensuring $workflow is an instance of WorkflowInterface before using it, the code now handles cases where the workflow is invalid. This solution should resolve the issue.Thus Moving this to RTBC.
Comment #11
jsacksick commented