Projet

Général

Profil

Bug #48992

crash sur l'affichage des actions de saut quand la destination a disparu

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

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Exception:
  type = '<class 'KeyError'>', value = ''

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/workflows.py", line 452, in get_status
   450             if status.id == id:
   451                 return status
>  452         raise KeyError()
   453
   454     def get_backoffice_fields(self):

  locals:
     id = '_previous'
     self = <Workflow '00_WF - Manifestation' id:107>
     status = <WorkflowStatus 43 "Demande d'information">

  File "/usr/lib/python3/dist-packages/wcs/workflows.py", line 2445, in get_line_details
  2443     def get_line_details(self):
  2444         if self.label and self.status:
> 2445             to_status = self.parent.parent.get_status(self.status)
  2446             more = ''
  2447             if self.set_marker_on_status:

Fichiers

Révisions associées

Révision 7b7c4a54 (diff)
Ajouté par Frédéric Péters il y a plus de 3 ans

workflows: don't crash on missing/previous destination status (#48992)

Historique

#2

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

#4

Mis à jour par Nicolas Roche il y a plus de 3 ans

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

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

  • Statut changé de Solution validée à Résolu (à déployer)
commit 7b7c4a54eab33ce15e5326d7f299af08b1eceaad
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Mon Nov 30 19:39:23 2020 +0100

    workflows: don't crash on missing/previous destination status (#48992)
#6

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

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

Formats disponibles : Atom PDF