Projet

Général

Profil

Bug #43491

get_status_manual_actions, 'NoneType' object is not iterable

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:
30 mai 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

  type = '<class 'TypeError'>', value = ''NoneType' object is not iterable'

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/workflows.py", line 1672, in get_status_manual_actions
  1670                 continue
  1671             roles = action.by
> 1672             functions = [x for x in roles if x in self.parent.roles]
  1673             roles = [x for x in roles if x not in self.parent.roles]
  1674             if functions or roles:

  locals:
     StatusAction = <class 'wcs.workflows.WorkflowStatus.get_status_manual_actions.<locals>.StatusAction'>
     action = <ChoiceWorkflowStatusItem 1>
     actions = []
     roles = None
     self = <WorkflowStatus 53 'EXPORT NPAI'>
     status_id = '53'

Fichiers

Révisions associées

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

workflows: get list of manual actions in case of undefined roles (#43491)

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

workflows: get list of manual actions in case of undefined roles (#43491)

Historique

#1

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

#2

Mis à jour par Thomas Noël il y a presque 4 ans

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

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 dcb362483420a6995a5aa8918240cda77bc411bd
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Sat May 30 10:35:53 2020 +0200

    workflows: get list of manual actions in case of undefined roles (#43491)
#4

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

(j'ai poussé ça dans une branche hotfix, que je déploierai dans la soirée)

#5

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