Bug #84915
stats de temps de résolution sur un workflow sans statut final (SyntaxError: syntax error at or near ")")
Début:
19 décembre 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
(le workflow sans statut final est mon hypothèse)
https://sentry.entrouvert.org/entrouvert/publik/issues/117927/
SyntaxError: syntax error at or near ")" LINE 7: ...d_evo ON end_evo.formdata_id = f.id AND end_evo.status IN () ^ (3 additional frame(s) were not displayed) ... File "wcs/statistics/views.py", line 41, in dispatch return super().dispatch(*args, **kwargs) File "django/views/generic/base.py", line 98, in dispatch return handler(request, *args, **kwargs) File "wcs/statistics/views.py", line 680, in get label, results = self.get_statistics(formdef) File "wcs/statistics/views.py", line 741, in get_statistics res_time_forms = formdef.data_class().get_resolution_times( File "wcs/sql.py", line 2360, in get_resolution_times cur.execute(sql_statement, params)
Révisions associées
Historique
Mis à jour par Robot Gitea il y a 4 mois
- Statut changé de Nouveau à En cours
- Assigné à mis à Frédéric Péters
Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/1001
- Titre : WIP: statistics: return 400 error for resolution time without final status (#84915)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/1001/files
Mis à jour par Robot Gitea il y a 4 mois
- 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 4 mois
- Statut changé de Solution validée à Résolu (à déployer)
Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/1001
- Titre : statistics: return 400 error for resolution time without final status (#84915)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/1001/files
Mis à jour par Transition automatique il y a 4 mois
- Statut changé de Résolu (à déployer) à Solution déployée
statistics: return 400 error for resolution time without final status (#84915)