Bug #66878
trace sur action globale avec pas d'actions dedans
Début:
01 juillet 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Pas cherché à voir comment le workflow avait été construit/importé/etc. mais on peut éviter,
Exception: type = '<class 'AttributeError'>', value = ''NoneType' object has no attribute 'items'' Stack trace (most recent call first): File "/usr/lib/python3/dist-packages/wcs/workflows.py", line 116, in perform_items 114 # performs the items of the new status 115 wf_status = formdata.get_status() > 116 url = perform_items(wf_status.items, formdata, depth=depth - 1, event='continuation') or url ... File "/usr/lib/python3/dist-packages/wcs/formdata.py", line 660, in perform_global_action 658 if action.id != action_id: 659 continue > 660 return perform_items(action.items, self, event=(event_name, action.id), global_action=True) 661 662 def get_workflow_messages(self, position='top', user=None):
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a presque 2 ans
- Fichier 0001-workflows-do-not-crash-performing-None-items-66878.patch 0001-workflows-do-not-crash-performing-None-items-66878.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Le patch le plus bidon.
Mis à jour par A. Berriot il y a plus d'un an
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a plus d'un an
- Statut changé de Solution validée à Résolu (à déployer)
commit 5f0eb3aaf717cfb821d792073c903092d7bb1c3a Author: Frédéric Péters <fpeters@entrouvert.com> Date: Fri Jul 1 15:58:36 2022 +0200 workflows: do not crash performing None items (#66878)
Mis à jour par Transition automatique il y a plus d'un an
- Statut changé de Résolu (à déployer) à Solution déployée
workflows: do not crash performing None items (#66878)