Bug #95402
dataviz, exception MissingVariable non rattrapée
Start date:
16 September 2024
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
https://sentry.entrouvert.org/entrouvert/grenoble/issues/132398/
KeyError: 'corps_etat' File "combo/apps/dataviz/models.py", line 535, in evaluate_filter_value variable = self.page.extra_variables[value.replace('variable:', '')] MissingVariable: (8 additional frame(s) were not displayed) ... File "combo/apps/dataviz/models.py", line 858, in update_subfilters response = self.get_statistic_data(filter_params=filter_params) File "combo/apps/dataviz/models.py", line 370, in get_statistic_data params=filter_params or self.get_filter_params(), File "combo/apps/dataviz/models.py", line 469, in get_filter_params params = {k: self.evaluate_filter_value(v) for k, v in self.filter_params.items() if v} File "combo/apps/dataviz/models.py", line 469, in <dictcomp> params = {k: self.evaluate_filter_value(v) for k, v in self.filter_params.items() if v} File "combo/apps/dataviz/models.py", line 537, in evaluate_filter_value raise MissingVariable
Associated revisions
History
Updated by Valentin Deniaud about 2 months ago
- Project changed from Suivi des traces to Combo
- Assignee set to Valentin Deniaud
Updated by Robot Gitea about 2 months ago
- Status changed from Nouveau to Solution proposée
Valentin Deniaud (vdeniaud) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/combo/pulls/345
- Titre : dataviz: handle missing page variable on form submit with subfilters (#95402)
- Modifications : https://git.entrouvert.org/entrouvert/combo/pulls/345/files
Updated by Robot Gitea 17 days ago
- Status changed from Solution proposée to Solution validée
Benjamin Dauvergne (bdauvergne) a approuvé une pull request sur Gitea concernant cette demande :
Updated by Robot Gitea 17 days ago
- Status changed from Solution validée to 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/345
- Titre : dataviz: handle missing page variable on form submit with subfilters (#95402)
- Modifications : https://git.entrouvert.org/entrouvert/combo/pulls/345/files
Updated by Transition automatique 16 days ago
- Status changed from Résolu (à déployer) to Solution déployée
dataviz: handle missing page variable on form submit with subfilters (#95402)