Projet

Général

Profil

Bug #54453

erreur lors de saut avec une partie de l'historique sans méthode view

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

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
01 juin 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Exception:
  type = '<class 'TypeError'>', value = ''NoneType' object is not callable'

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/formdata.py", line 156, in display_parts
   154             if hasattr(p, 'to') and not self.formdata.is_for_current_user(p.to):
   155                 continue
>  156             text = p.view()
   157             if text:
   158                 l.append(text)

  locals:
     l = []
     p = <wcs.workflows.WorkflowGlobalActionTimeoutTriggerMarker object at 0x7f337fc40b38>
     self = <wcs.formdata.Evolution object at 0x7f337fc40a20>
     text = ''

  File "/usr/lib/python3/dist-packages/wcs/formdata.py", line 651, in jump_status
   649             and self.evolution[-1].status == status
   650             and not self.evolution[-1].comment
>  651             and not self.evolution[-1].display_parts()
   652         ):
   653             # if status do not change and last evolution is empty,


Fichiers

Révisions associées

Révision 90f7469c (diff)
Ajouté par Frédéric Péters il y a presque 3 ans

misc: fix check for view method on evolution part (#54453)

Historique

#1

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

#2

Mis à jour par Lauréline Guérin il y a presque 3 ans

  • Statut changé de Solution proposée à Solution validée
  • Assigné à changé de Frédéric Péters à Benjamin Dauvergne
#3

Mis à jour par Lauréline Guérin il y a presque 3 ans

  • Assigné à changé de Benjamin Dauvergne à Frédéric Péters
#4

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

  • Statut changé de Solution validée à Résolu (à déployer)
commit 90f7469ccca2db699cdd7f257cacb34932d0b3d9
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Tue Jun 1 00:19:20 2021 +0200

    misc: fix check for view method on evolution part (#54453)
#5

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

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

Formats disponibles : Atom PDF