From cb1a62279a1db86bab57f029fa754ef134de515c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sylvain=20Ray=C3=A9?= <1337461+sylvainraye@users.noreply.github.com> Date: Thu, 10 Sep 2020 18:43:49 +0200 Subject: [PATCH] BUGFIX: mass notification email processor Fix an issue with a missing parameter "sender", replaced to "fromEmail" as non existing in body message --- .../NotificationBundle/Async/SendMassEmailMessageProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Oro/Bundle/NotificationBundle/Async/SendMassEmailMessageProcessor.php b/src/Oro/Bundle/NotificationBundle/Async/SendMassEmailMessageProcessor.php index a01322bde55..9d145a9537b 100644 --- a/src/Oro/Bundle/NotificationBundle/Async/SendMassEmailMessageProcessor.php +++ b/src/Oro/Bundle/NotificationBundle/Async/SendMassEmailMessageProcessor.php @@ -94,7 +94,7 @@ public function process(MessageInterface $message, SessionInterface $session) ], $data); if (empty($data['body']) - || !isset($data['fromEmail'], $data['toEmail']) + || !isset($data['sender'], $data['toEmail']) || (isset($data['template']) && !is_array($data['body'])) ) { $this->logger->critical('Got invalid message');