Projet

Général

Profil

Bug #76971

erreur affichage, unsupported operand type(s) for +: 'TemplateIO' and 'str'

Ajouté par Frédéric Péters il y a environ un an. Mis à jour il y a environ un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
24 avril 2023
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/109848/

Exception:
  type = '<class 'TypeError'>', value = 'unsupported operand type(s) for +: 'TemplateIO' and 'str''

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 183, in __radd__
   181
   182         def __radd__(self, other):
>  183             return other + self.__cast()
   184
   185         def __deepcopy__(self, memo):

  locals:
     other = <TemplateIO object at 0x7f881395f690>
     self = 'Suppression'

  File "/usr/lib/python3/dist-packages/wcs/admin/workflows.py", line 1405, in _q_index
  1403                 r += htmltext('<li class="biglistitem" id="itemId_%s">') % item.id
  1404                 if self.workflow.is_readonly():
> 1405                     r += item.render_as_line()
  1406                 else:
  1407                     if hasattr(item, 'fill_admin_form'):

  locals:
     item = <RemoveWorkflowStatusItem 1 in global action "Suppression en masse" (1) in workflow "Gestion des évènements de la cité de la
Gastronomie" (326)>
     r = <TemplateIO object at 0x7f881395f690>
     self = <wcs.admin.workflows.GlobalActionPage object at 0x7f8813d296a0>

...
PATH_INFO       '/backoffice/workflows/326/history/10992/view/global-actions/1/'

Révisions associées

Révision a84c06fd (diff)
Ajouté par Frédéric Péters il y a environ un an

misc: fix display of simple action labels in snapshots (#76971)

Historique

#1

Mis à jour par Robot Gitea il y a environ un an

  • Statut changé de Nouveau à Solution proposée

Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :

#2

Mis à jour par Robot Gitea il y a environ un an

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

Agate Berriot (aberriot) a approuvé une pull request sur Gitea concernant cette demande :

#3

Mis à jour par Robot Gitea il y a environ un an

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

Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :

#4

Mis à jour par Transition automatique il y a environ un an

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

Mis à jour par Lauréline Guérin il y a environ un an

  • Description mis à jour (diff)
#6

Mis à jour par Transition automatique il y a 10 mois

Automatic expiration

Formats disponibles : Atom PDF