Bug #63233
IndexError: list index out of range
Début:
28 mars 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/54912/
IndexError: list index out of range (1 additional frame(s) were not displayed) ... File "django/core/handlers/base.py", line 115, in _get_response response = self.process_exception_by_middleware(e, request) File "django/core/handlers/base.py", line 113, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "combo/apps/dashboard/views.py", line 131, in dashboard_auto_tile dashboard = DashboardCell.objects.filter(page__snapshot__isnull=True)[0] File "django/db/models/query.py", line 309, in __getitem__ return qs._result_cache[0]
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Fichier 0001-dashboard-fix-views-when-dashboard-cell-does-not-exi.patch 0001-dashboard-fix-views-when-dashboard-cell-does-not-exi.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Nicolas Roche il y a environ 2 ans
- Statut changé de Solution proposée à Solution validée
(Je n'ai pas compris pourquoi le premier build a échoué)
Mis à jour par Frédéric Péters il y a environ 2 ans
(Je n'ai pas compris pourquoi le premier build a échoué)
parce qu'il y avait les corrections pour les nouvelles erreurs pylint à intégrer.
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit db8c99228d15106d68ef54f3cb25a57aeeb2fe54 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Mon Mar 28 15:53:54 2022 +0200 dashboard: fix views when dashboard cell does not exist (#63233)
Mis à jour par Transition automatique il y a environ 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
dashboard: fix views when dashboard cell does not exist (#63233)