Projet

Général

Profil

Bug #44184

"workflow externe", crash sur objectdef à None

Ajouté par Frédéric Péters il y a presque 4 ans. Mis à jour il y a presque 4 ans.

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

Révision 48d9398a (diff)
Ajouté par Frédéric Péters il y a presque 4 ans

workflows: don't crash external workflow action on missing card/form (#44184)

Historique

#2

Mis à jour par Frédéric Péters il y a presque 4 ans

#4

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
#5

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

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

Formats disponibles : Atom PDF