Bug #52785
exception sur gabarit de délai d'action globale à None
Début:
06 avril 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
type = '<class 'TypeError'>', value = 'argument of type 'NoneType' is not iterable' Stack trace (most recent call first): File "/usr/lib/python3/dist-packages/wcs/qommon/template.py", line 480, in __init__ 478 self.raises = raises 479 > 480 if ('{{' in value or '{%' in value) and not ezt_only: # Django template 481 self.render = self.django_render 482 if autoescape is False: locals: autoescape = False ezt_format = 'raw' ezt_only = False raises = False self = <wcs.qommon.template.Template object at 0x7f7c48667390> value = None File "/usr/lib/python3/dist-packages/wcs/workflows.py", line 1299, in must_trigger 1297 elif self.anchor == 'template': 1298 variables = get_publisher().substitutions.get_context_variables(mode='lazy') > 1299 anchor_date = Template(self.anchor_template, autoescape=False).render(variables) 1300 elif self.anchor == 'python': 1301 variables = get_publisher().substitutions.get_context_variables()
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a environ 3 ans
- Fichier 0001-workflows-don-t-fail-on-incomplete-global-anchor-dat.patch 0001-workflows-don-t-fail-on-incomplete-global-anchor-dat.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Thomas Noël il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 5539d1997f21dfee8539a4643c65b262d52364e1 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Tue Apr 6 17:28:51 2021 +0200 workflows: don't fail on incomplete global anchor date template (#52785)
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
workflows: don't fail on incomplete global anchor date template (#52785)