Projet

Général

Profil

Development #77116

toulouse-maelis: activité sans natureSpec (TypeError: 'NoneType' object is not subscriptable)

Ajouté par Sentry Io il y a environ un an. Mis à jour il y a 12 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
28 avril 2023
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

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

TypeError: 'NoneType' object is not subscriptable
  File "passerelle/utils/jsonresponse.py", line 128, in api
    resp = f(*args, **kwargs)
  File "passerelle/views.py", line 568, in perform
    result = self.endpoint(request, **params)
  File "passerelle/contrib/toulouse_maelis/models.py", line 2233, in read_child_agenda
    bookings = self.get_bookings(family_id, child_id, start_date, end_date)
  File "passerelle/contrib/toulouse_maelis/models.py", line 2151, in get_bookings
    if not activity['activityType']['natureSpec']:

Error occurred while processing request

Révisions associées

Révision bdd68dc6 (diff)
Ajouté par Nicolas Roche il y a environ un an

toulouse-maelis: do not crash on agenda if we get no type (#77116)

Historique

#1

Mis à jour par Lauréline Guérin il y a environ un an

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

Mis à jour par Robot Gitea il y a environ un an

  • Tracker changé de Bug à Development
  • Statut changé de Nouveau à Solution proposée
  • Assigné à mis à Nicolas Roche

Nicolas Roche (nroche) a ouvert une pull request sur Gitea concernant cette demande :

#3

Mis à jour par Robot Gitea il y a environ un an

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

Frédéric Péters (fpeters) a approuvé une pull request sur Gitea concernant cette demande :

#4

Mis à jour par Robot Gitea il y a environ un an

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

Nicolas Roche (nroche) a mergé une pull request sur Gitea concernant cette demande :

#5

Mis à jour par Transition automatique il y a 12 mois

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

Mis à jour par Transition automatique il y a 10 mois

Automatic expiration

Formats disponibles : Atom PDF