Projet

Général

Profil

Development #60831

ne pas enregistrer d'erreur de statut pas trouvé lors du rendu du graphe

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

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
19 janvier 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Sur une action d'appel webservice avec des sauts en cas d'erreur pointant sur des statuts qui n'exitent plus :

  File "/usr/lib/python3/dist-packages/wcs/wf/wscall.py", line 558, in get_target_status
    get_publisher().record_error(message, workflow=self.parent.parent)
  File "/usr/lib/python3/dist-packages/wcs/admin/workflows.py", line 271, in graphviz
    next_status_ids = [x.id for x in item.get_target_status() if x.id]
  File "/usr/lib/python3/dist-packages/wcs/admin/workflows.py", line 603, in graphviz
    return graphviz(self.workflow, url_prefix='../../', include=True, select='%s' % self.status.id)

Fichiers

Révisions associées

Révision 671a90bc (diff)
Ajouté par Frédéric Péters il y a environ 2 ans

workflows: do not record missing wscall target status errors in graph (#60831)

Historique

#2

Mis à jour par Frédéric Péters il y a environ 2 ans

  • Statut changé de Nouveau à En cours
  • Assigné à mis à Frédéric Péters
#3

Mis à jour par Frédéric Péters il y a environ 2 ans

#4

Mis à jour par Lauréline Guérin il y a environ 2 ans

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

Mis à jour par Frédéric Péters il y a environ 2 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 671a90bc5c16c9f00b4393eb63a37a874fa12035
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Sun Jan 23 16:47:08 2022 +0100

    workflows: do not record missing wscall target status errors in graph (#60831)
#6

Mis à jour par Frédéric Péters il y a environ 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#7

Mis à jour par Transition automatique il y a presque 2 ans

Automatic expiration

Formats disponibles : Atom PDF