Fatal error with empty $entity->original with webforms

Created on 26 February 2024, 9 months ago

Problem/Motivation

When used with the latest webforms module, the $entity->original is not always set, which can result in fatal errors during creation of new webforms.

Steps to reproduce

Enable the module and try to create a new webform.

Proposed resolution

Check if $entity->original is empty.

Remaining tasks

Check/QA.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇧🇬Bulgaria alexrayu

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

Comments & Activities

Production build 0.71.5 2024