Bug #43081
local variable 'displayed_criterias' referenced before assignment sur page de stats globales
Début:
19 mai 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Exception: type = '<class 'UnboundLocalError'>', value = 'local variable 'displayed_criterias' referenced before assignment' Stack trace (most recent call first): File "/usr/lib/python3/dist-packages/wcs/backoffice/management.py", line 2288, in stats 2286 2287 r += htmltext('<div id="statistics">') > 2288 if displayed_criterias: 2289 r += htmltext('<div class="criterias bo-block">') 2290 r += htmltext('<h2>%s</h2>') % _('Filters') locals: applied_filters = None criterias = [] ...
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a presque 4 ans
- Fichier 0001-backoffice-fix-display-of-stats-filtered-on-invalid-.patch 0001-backoffice-fix-display-of-stats-filtered-on-invalid-.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
C'est la suite de #42830.
Mis à jour par Thomas Noël il y a presque 4 ans
- Statut changé de Solution proposée à Solution validée
Arf, oui, raté cette évidence à la relecture de #42830...
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 7d03a0859edbb53dd141e5c227a24960dcfaec78 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Tue May 19 15:02:38 2020 +0200 backoffice: fix display of stats filtered on invalid status (#43081)
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
backoffice: fix display of stats filtered on invalid status (#43081)