pim-community-dev icon indicating copy to clipboard operation
pim-community-dev copied to clipboard

MailNotifier invalid parameters

Open andriusvo opened this issue 2 years ago • 2 comments
trafficstars

:bug: I'm reporting a Bug :bug:

Version affected: >= 7

In the class Akeneo\Tool\Bundle\BatchBundle\Notification\MailNotifier line 70 parsed parameters are only jobExecution. In the @AkeneoBatch/Email/notification.txt.twig there is variable email defined, which should be included in parameters, but is not. This produces error:

Akeneo\Tool\Bundle\BatchBundle\Notification\MailNotifier - Unable to send email : Variable "email" does not exist.

andriusvo avatar Jan 16 '23 13:01 andriusvo

🤐🤐

ayhan-dev avatar Apr 20 '23 18:04 ayhan-dev

As far as I see the notification.html.twig don't contain a {{ email }} so probably the notification.txt.twig should be updated.

buergesoft avatar Jun 09 '23 08:06 buergesoft