Fatal error with empty $entity->original with webforms

Created on 26 February 2024, 4 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.69.0 2024