Bug #61178
TypeError: delete() missing 1 required positional argument: 'event_identifier'
Début:
27 janvier 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/gplexpert/issues/54383/
TypeError: delete() missing 1 required positional argument: 'event_identifier' (3 additional frame(s) were not displayed) ... File "django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "django/views/generic/base.py", line 71, in view return self.dispatch(request, *args, **kwargs) File "rest_framework/views.py", line 495, in dispatch response = self.handle_exception(exc) File "rest_framework/views.py", line 455, in handle_exception self.raise_uncaught_exception(exc) File "rest_framework/views.py", line 492, in dispatch response = handler(request, *args, **kwargs)
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a environ 2 ans
2 urls, 1 vue:
url( r'^agenda/(?P<agenda_identifier>[\w-]+)/event/$', views.events, name='api-event', ), url( r'^agenda/(?P<agenda_identifier>[\w-]+)/event/(?P<event_identifier>[\w:-]+)/$', views.events, name='api-event', ),
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Fichier 0001-api-fix-event-endpoints-61178.patch 0001-api-fix-event-endpoints-61178.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Assigné à mis à Lauréline Guérin
- Patch proposed changé de Non à Oui
Mis à jour par Nicolas Roche il y a environ 2 ans
- Statut changé de Solution proposée à Solution validée
Ack, mais perso j'aurais ajouté le test dans test_delete_event
.
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 38e4b745b08aa78c007aaf077e943a852cfd67f4 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Thu Jan 27 16:55:22 2022 +0100 api: fix event endpoints (#61178)
Mis à jour par Frédéric Péters il y a environ 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
api: fix event endpoints (#61178)