Actions
Bug #115990
openLingoImportError: Agenda « billets-entree-crypte-archeologique » manquant
Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
24 March 2026
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
https://sentry.entrouvert.org/organizations/entrouvert/issues/14048/
Crash si l'agenda de l'application n'existe pas
Traceback (most recent call last):
File "lingo/agendas/models.py", line 121, in import_json
agenda = Agenda.objects.get(slug=data['slug'])
File "django/db/models/manager.py", line 87, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "django/db/models/query.py", line 637, in get
raise self.model.DoesNotExist(
Agenda.DoesNotExist: Agenda matching query does not exist.
Actions