Project

General

Profile

Development #60831

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

Added by Frédéric Péters 4 months ago. Updated 4 months ago.

Status:
Fermé
Priority:
Normal
Target version:
-
Start date:
19 Jan 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

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)

Files

Associated revisions

Revision 671a90bc (diff)
Added by Frédéric Péters 4 months ago

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

History

#2

Updated by Frédéric Péters 4 months ago

  • Status changed from Nouveau to En cours
  • Assignee set to Frédéric Péters
#3

Updated by Frédéric Péters 4 months ago

#4

Updated by Lauréline Guerin 4 months ago

  • Status changed from Solution proposée to Solution validée
#5

Updated by Frédéric Péters 4 months ago

  • Status changed from Solution validée to 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

Updated by Frédéric Péters 4 months ago

  • Status changed from Résolu (à déployer) to Solution déployée
#7

Updated by Transition automatique about 2 months ago

Automatic expiration

Also available in: Atom PDF