Actions
Bug #79447
closedstats, UnboundLocalError: local variable 'allowed_filters' referenced before assignment
Start date:
05 July 2023
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/112641/
UnboundLocalError: local variable 'allowed_filters' referenced before assignment
(6 additional frame(s) were not displayed)
...
File "rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
File "authentic2/api_views.py", line 1768, in login_new
return self.get_statistics(request, UserLogin)
File "authentic2/api_views.py", line 1748, in get_statistics
if service and 'service' in allowed_filters:
Updated by Frédéric Péters (de retour le 10/3) over 2 years ago
- Tags set to statistiques
- Project changed from 369 to Authentic 2
Updated by Robot Gitea over 2 years 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/authentic/pulls/88
- Titre : api: do not crash on invalid filter (#79447)
- Modifications : https://git.entrouvert.org/entrouvert/authentic/pulls/88/files
Updated by Robot Gitea over 2 years ago
- Status changed from Solution proposée to Solution validée
Serghei Mihai (smihai) a approuvé une pull request sur Gitea concernant cette demande :
Updated by Robot Gitea over 2 years 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/authentic/pulls/88
- Titre : api: do not crash on invalid filter (#79447)
- Modifications : https://git.entrouvert.org/entrouvert/authentic/pulls/88/files
Updated by Transition automatique over 2 years ago
- Status changed from Résolu (à déployer) to Solution déployée
Actions