Development #66936
dataviz - AttributeError: 'list' object has no attribute 'get'
Début:
04 juillet 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/62123/
AttributeError: 'list' object has no attribute 'get' (4 additional frame(s) were not displayed) ... File "django/views/generic/base.py", line 71, in view return self.dispatch(request, *args, **kwargs) File "combo/apps/dataviz/views.py", line 59, in dispatch return super().dispatch(request, *args, **kwargs) File "django/views/generic/base.py", line 97, in dispatch return handler(request, *args, **kwargs) File "combo/apps/dataviz/views.py", line 93, in get self.update_subfilters_cache(form.instance) File "combo/apps/dataviz/views.py", line 125, in update_subfilters_cache cell.get_cache_key(self.filters_cell_id), data.json()['data'].get('subfilters', []), 300
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a presque 2 ans
- Projet changé de Suivi des traces à Combo
- Sujet changé de AttributeError: 'list' object has no attribute 'get' à dataviz - AttributeError: 'list' object has no attribute 'get'
Mis à jour par Valentin Deniaud il y a presque 2 ans
- Fichier 0001-dataviz-do-not-refresh-subfilters-for-bijoe-stat-669.patch 0001-dataviz-do-not-refresh-subfilters-for-bijoe-stat-669.patch ajouté
- Tracker changé de Bug à Development
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a presque 2 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Valentin Deniaud il y a presque 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit cdb0367157db0d36609d56eff5e83d95324210ad Author: Valentin Deniaud <vdeniaud@entrouvert.com> Date: Mon Jul 4 16:10:49 2022 +0200 dataviz: do not refresh subfilters for bijoe stat (#66936)
Mis à jour par Transition automatique il y a presque 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
dataviz: do not refresh subfilters for bijoe stat (#66936)