AJAX error on StateTransitionConfirmForm

Created on 25 September 2024, about 2 months ago

Problem/Motivation

When adding AJAX states to the StateTransitionConfirmForm, the exception "LogicException: The database connection is not serializable" is thrown.

Proposed resolution

The issue comes from the transition property that currently can't be serialized. Since the transition property is set during buildForm, we could simply remove the property on __sleep as it will be reassign automatically on buildForm.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇭Switzerland aerzas

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024