Problem/Motivation

If a webform is not attached to a node, no emails are sent.

Steps to reproduce

Create a Webform as a modal form.
Do not attach to a node.
Trigger the webform using a dialog link.

Proposed resolution

Patch WebformDigestQueue::processItem() and WebformDigestsMailHandler::sendMessage() to handle the case where `$webformSubmission->getSourceEntity()` returns null.

Comments

earthday47 created an issue. See original summary.

andy_w’s picture

Status: Active » Needs review
StatusFileSize
new930 bytes

Updated to make the entity optional

  • andy_w committed 6dceb85 on 8.x-1.x
    Issue #3177969 by andy_w, earthday47: Doesn't work with modal forms not...
andy_w’s picture

Status: Needs review » Fixed
andy_w’s picture

Status: Fixed » Closed (fixed)