Projet

Général

Profil

Bug #63233

IndexError: list index out of range

Ajouté par Sentry Io il y a environ 2 ans. Mis à jour il y a environ 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
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

Révision db8c9922 (diff)
Ajouté par Lauréline Guérin il y a environ 2 ans

dashboard: fix views when dashboard cell does not exist (#63233)

Historique

#1

Mis à jour par Lauréline Guérin il y a environ 2 ans

  • Projet changé de Suivi des traces à Combo
#2

Mis à jour par Lauréline Guérin il y a environ 2 ans

  • Assigné à mis à Lauréline Guérin
#3

Mis à jour par Lauréline Guérin il y a environ 2 ans

#4

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é)

#5

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.

#6

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)
#7

Mis à jour par Transition automatique il y a environ 2 ans

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

Mis à jour par Transition automatique il y a presque 2 ans

Automatic expiration

Formats disponibles : Atom PDF