Projet

Général

Profil

Bug #42669

Erreur d'affichage d'un WF avec l'action workflow externe lorsque celle-ci pointe sur un appel externe qui a été renommé

Ajouté par Mikaël Ates il y a presque 4 ans. Mis à jour il y a presque 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
08 mai 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Workflow appelant : https://demarches-departement06.test.entrouvert.org/backoffice/workflows/105/
Workflow cible :
Exception:
  type = '<class 'AttributeError'>', value = ''NoneType' object has no attribute 'parent''

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/wf/external_workflow.py", line 109, in get_line_details
   107             trigger = self.get_trigger(objectdef.workflow)
   108             return _('action "%(trigger_name)s" on %(object_name)s') % {
>  109                      'trigger_name': trigger.parent.name,
   110                      'object_name': objectdef.name}
   111         return _('not completed')

  locals: 
     objectdef = <CardDef 'Seniors - Quotas sur événements' id:5>
     self = <ExternalWorkflowGlobalAction 4>
     trigger = None

Fichiers

Révisions associées

Révision d46f05b8 (diff)
Ajouté par Serghei Mihai il y a presque 4 ans

external_workflow: handle trigger identifier changing (#42669)

Historique

#4

Mis à jour par Serghei Mihai il y a presque 4 ans

#5

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

  • Statut changé de Solution proposée à Solution validée
#6

Mis à jour par Serghei Mihai il y a presque 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit d46f05b8b384af34500e126e2787e6b45a9ac7a3 (origin/master, origin/HEAD)
Author: Serghei Mihai <smihai@entrouvert.com>
Date:   Mon May 11 16:47:50 2020 +0200

    external_workflow: handle trigger identifier changing (#42669)
#7

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