Projet

Général

Profil

Bug #6228

Ignorer les envois de mails sans contenu

Ajouté par Frédéric Péters il y a plus de 9 ans. Mis à jour il y a plus de 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
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

#1

Mis à jour par Frédéric Péters il y a plus de 9 ans

#2

Mis à jour par Thomas Noël il y a plus de 9 ans

Ack

#3

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)
#4

Mis à jour par Thomas Noël il y a plus de 8 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF