Projet

Général

Profil

Bug #42534

DoesNotExist: MeetingType matching query does not exist.

Ajouté par Sentry Io il y a environ 4 ans. Mis à jour il y a presque 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
06 mai 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/2031/

DoesNotExist: MeetingType matching query does not exist.
(7 additional frame(s) were not displayed)
...
  File "chrono/api/views.py", line 818, in post
    format=format,
  File "chrono/api/views.py", line 608, in fillslot
    all_slots = get_all_slots(agenda, agenda.get_meetingtype(id_=meeting_type_id))
  File "chrono/agendas/models.py", line 191, in get_meetingtype
    return MeetingType.objects.get(id=id_, agenda=self)
  File "django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "django/db/models/query.py", line 380, in get
    self.model._meta.object_name

Internal Server Error: /api/agenda/masque-point-1/fillslot/10:2020-05-07-0900/

Fichiers

Révisions associées

Révision 8e775f2b (diff)
Ajouté par Lauréline Guérin il y a presque 4 ans

api: fix fillslots api when meeting type id is not found (#42534)

Historique

#1

Mis à jour par Lauréline Guérin il y a environ 4 ans

  • Projet changé de Suivi des traces à Chrono
#2

Mis à jour par Lauréline Guérin il y a environ 4 ans

  • Assigné à mis à Lauréline Guérin
#3

Mis à jour par Lauréline Guérin il y a environ 4 ans

#4

Mis à jour par Frédéric Péters il y a presque 4 ans

  • Statut changé de Solution proposée à Solution validée
#5

Mis à jour par Lauréline Guérin il y a presque 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 8e775f2bd3dd6dc2ed8e1f10aff6dfca72fe5a88
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Thu May 7 14:26:12 2020 +0200

    api: fix fillslots api when meeting type id is not found (#42534)
#6

Mis à jour par Frédéric Péters il y a presque 4 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF