Bug #76553
dataviz: erreur dans le clean d'un formulaire (KeyError: 'time_range')
Début:
12 avril 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/109601/
KeyError: 'time_range' (13 additional frame(s) were not displayed) ... File "combo/apps/dataviz/models.py", line 797, in get_cell_extra_context ctx['form'].errors.clear() File "django/forms/forms.py", line 170, in errors self.full_clean() File "django/forms/forms.py", line 373, in full_clean self._clean_form() File "django/forms/forms.py", line 400, in _clean_form cleaned_data = self.clean() File "combo/apps/dataviz/forms.py", line 438, in clean if self.cleaned_data['time_range'] != 'range':
Révisions associées
Historique
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Nouveau à Solution proposée
Valentin Deniaud (vdeniaud) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/combo/pulls/77
- Titre : dataviz: fix time range field cleaning when templated range (#76553)
- Modifications : https://git.entrouvert.org/entrouvert/combo/pulls/77/files
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution proposée à Solution validée
Lauréline Guérin (lguerin) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution validée à Résolu (à déployer)
Valentin Deniaud (vdeniaud) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/combo/pulls/77
- Titre : dataviz: fix time range field cleaning when templated range (#76553)
- Modifications : https://git.entrouvert.org/entrouvert/combo/pulls/77/files
Mis à jour par Transition automatique il y a environ un an
- Statut changé de Résolu (à déployer) à Solution déployée
dataviz: fix time range field cleaning when templated range (#76553)