Projet

Général

Profil

Bug #47271

restauration d'un workflow avec un rôle qui n'existe plus

Ajouté par Frédéric Péters il y a plus de 3 ans. Mis à jour il y a 4 mois.

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

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

Exception:
  type = '<class 'wcs.workflows.WorkflowImportError'>', value = 'Unknown referenced role (%s)'

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/workflows.py", line 1016, in _get_role_id_from_xml
  1014         # if the roles are managed by the idp, don't try further.
  1015         if get_publisher() and get_cfg('sp', {}).get('idp-manage-roles') is True:
> 1016             raise WorkflowImportError(N_('Unknown referenced role (%s)'), (value,))
  1017
  1018         # and if there's no match, create a new role

  locals:
     charset = 'utf-8'
     elem = <Element 'item' at 0x7fcc5fcb71d8>
     include_id = True
     role = <Role 'Guichet Grenoble' id:af393516f91d492ebd476b7da948169e>
     role_id = 'autre_service_var_objet_demande_role_n2'
     self = <SendmailWorkflowStatusItem 6>
     value = 'autre_service_var_objet_demande_role_n2'

Dans cette situation je serais pour écrire que pas de chance mais non.


Demandes liées

Lié à w.c.s. - Bug #58240: WorkflowImportError: ('Référence à un rôle inconnu'), sur le chargement de snapshotFermé27 octobre 2021

Actions

Historique

#2

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

  • Statut changé de Nouveau à Fermé

Dupliqué/corrigé dans #58240.

#3

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

  • Lié à Bug #58240: WorkflowImportError: ('Référence à un rôle inconnu'), sur le chargement de snapshot ajouté

Formats disponibles : Atom PDF