pim-community-dev
pim-community-dev copied to clipboard
MailNotifier invalid parameters
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.
🤐🤐
As far as I see the notification.html.twig don't contain a {{ email }} so probably the notification.txt.twig should be updated.