Bug #44184
"workflow externe", crash sur objectdef à None
Début:
17 juin 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Exception: type = '<class 'AttributeError'>', value = ''NoneType' object has no attribute 'workflow'' Stack trace (most recent call first): File "/usr/lib/python3/dist-packages/wcs/wf/external_workflow.py", line 107, in get_line_details 105 if self.slug and self.trigger_id: 106 objectdef = self.get_object_def() > 107 trigger = self.get_trigger(objectdef.workflow) 108 if objectdef and trigger: 109 return _('action "%(trigger_name)s" on %(object_name)s') % { locals: objectdef = None self = <ExternalWorkflowGlobalAction 1>
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a presque 4 ans
- Fichier 0001-workflows-don-t-crash-external-workflow-action-on-mi.patch 0001-workflows-don-t-crash-external-workflow-action-on-mi.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a presque 4 ans
Mis à jour par Serghei Mihai il y a presque 4 ans
- Statut changé de Solution proposée à Solution validée
- Assigné à mis à Frédéric Péters
Mis à jour par Frédéric Péters il y a presque 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 48d9398a9c3b5bffeef75475ad5e6db3de73f6d6 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Wed Jun 17 18:42:41 2020 +0200 workflows: don't crash external workflow action on missing card/form (#44184)
Mis à jour par Frédéric Péters il y a presque 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
workflows: don't crash external workflow action on missing card/form (#44184)