Bug #6228
Ignorer les envois de mails sans contenu
Début:
03 janvier 2015
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
Stack trace (most recent call first): File "/usr/lib/python2.7/dist-packages/wcs/workflows.py", line 1318, in template_on_formdata 1316 1317 def template_on_formdata(formdata=None, template=None, process=None): > 1318 assert template is not None 1319 if not '[' in template: 1320 return template locals: process = None formdata = <Inscription-A-La-Soiree-Des-Voeux-Du-Maire-Aux-Villeneuvois id:11> template = None File "/usr/lib/python2.7/dist-packages/wcs/workflows.py", line 1237, in perform 1235 except ezt.EZTException: 1236 get_logger().error('error in template for email body [%s], mail could not be generated' % url) > 1237 return 1238 1239 try: locals: url = 'https://villeneuve-les-maguelone.eservices.montpellier-agglo.com/inscription-a-la-soiree-des-voeux-du-m aire-aux-villeneuvois/11/' formdata = <Inscription-A-La-Soiree-Des-Voeux-Du-Maire-Aux-Villeneuvois id:11> self = <wcs.workflows.SendmailWorkflowStatusItem object at 0x31f4110>
Fichiers
Historique
Mis à jour par Frédéric Péters il y a plus de 9 ans
- Fichier 0001-workflows-skip-emails-with-empty-body-6228.patch 0001-workflows-skip-emails-with-empty-body-6228.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a plus de 9 ans
- Statut changé de En cours à Résolu (à déployer)
commit 1546085ebb48845f559d54691470a2b5d2c6fc52 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Sat Jan 3 10:10:35 2015 +0100 workflows: skip emails with empty body (#6228)