Undefined variable $node_obj deleting webforms not attached to nodes

Created on 9 September 2022, over 2 years ago
Updated 2 March 2023, almost 2 years ago

Problem/Motivation

Running cim on project when there is a webform to be deleted, but that webform is not attached to a node, so it throws an error.

Steps to reproduce

Add a webform through the interface before installing this module.
Install this module.
Try to delete the webform.

Proposed resolution

The message that is telling the user that a node with label was deleted is the problem. It sits outside of the if statement that checks if we got a node.

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇺🇸United States johnlutz

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024